-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix various inconsistencies in knora-base.ttl and docs. #330
Conversation
…n foaf:Person, because SystemUser isn’t a person (#328).
@@ -724,9 +735,7 @@ | |||
|
|||
:subjectClassConstraint :User ; | |||
|
|||
:objectClassConstraint :knoraProject ; | |||
|
|||
rdfs:subPropertyOf foaf:member . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume that we do not relate �isInGroup
to foaf anymore.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, as the pull request description says: "Don't use foaf:member
, because it means the opposite of what was intended."
@@ -1473,7 +1459,7 @@ | |||
|
|||
### http://www.knora.org/ontology/knora-base#valueHas | |||
|
|||
:valueHas rdf:type owl:DatatypeProperty ; | |||
:valueHas rdf:type rdf:Property ; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why would a subproperty of valueHas
be an object property? Wouldn't it rather be a subproperty of hasLinkTo
then?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For example, valueHasListNode
has to be an object property, because its object is aListNode
, not a literal. It can't be a subproperty of hasLinkTo
, because both the subject and object of hasLinkTo
must be instances of Resource
.
@@ -1637,7 +1623,7 @@ | |||
|
|||
### http://www.knora.org/ontology/knora-base#valueHasListNode | |||
|
|||
:valueHasListNode rdf:type owl:DatatypeProperty ; | |||
:valueHasListNode rdf:type owl:ObjectProperty ; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this change the answer to my question above?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes.
@@ -2730,11 +2700,7 @@ | |||
|
|||
:TextFileValue rdf:type owl:Class ; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we going to store a document in the triplestore itself or are we going to store a file path?
I think in case of an XML file or any other simple plain text format we could store it in the triplestore, but not other non trivial formats.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would make sense to store it in the triplestore if we could search its contents using full-text search. I think Lucene can be configured to handle XML syntax, but we'd have to look into this. Otherwise, I think it makes more sense to store it in a file.
@@ -9,40 +9,110 @@ | |||
@prefix salsah-gui: <http://www.knora.org/ontology/salsah-gui#> . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do not understand what you did in this file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or did you transform it using Transform data to change jdc to jdn?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes.
@@ -254,8 +260,6 @@ object TransformData extends App { | |||
|
|||
/** | |||
* Looks for regions that have the label "test" and changes their label to the value of their `knora-base:hasComment`. | |||
* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did you remove the documentation of the required param? Because it is already documented in the abstract super class?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, but I'll put it back.
* develop: Improve configuration for more concurrent requests (#338) Upgrade to Scala 2.12 (#343) Fix various inconsistencies in knora-base.ttl and docs. (#330) Fix language switching and login/logout in SALSAH (#331) Graph data API operation (#267) Allow connections over HTTPS (#332) Update README.md Add link to GraphDB. fix (salsah): Add missing JavaScript “var”. fix (webapi): Fix RouteUtilV1 so it returns HTML instead of JSON when requested (#326) Ontology and documentation fixes. (#325) fix (salsah): Create multiple links in a resource, and other bug fixes (#315) feature (webapi): Make TransformData fix “test” labels on regions. (#311) Fixes for subclasses and subproperties (#303) Add script to update docs on knora.org (#300) docs: Make trivial change for testing purposes. fix (webapi): CORS problems (#307) Use inference to optimise searches on GraphDB (#301)
Fixes inconsistencies in
knora-base.ttl
:knora-base:name
,knora-base:givenName
, andknora-base:familyName
, as subproperties of the correspondingfoaf
properties and ofknora-base:objectCannotBeMarkedAsDeleted
, and use theknora-base
properties instead of thefoaf
ones, so consistency rules can check them properly.knora-base:valueHas
tordf:Property
, so its subproperties can be either object properties or datatype properties.valueHasListNode
an object property.hasComment
on value classes.DocumentRepresentation
andTextRepresentation
.currentproject
,filename
, andprotocol
.foaf:birthday
, whose object should be a literal.foaf:member
, because it means the opposite of what was intended.Test data and tests are fixed accordingly. There are also some corrections and clarifications in
knora-base.rst
.Closes #327.
Closes #328.