Skip to content

Commit

Permalink
chore: Add missing labels and comment to relatesToValue (#3273)
Browse files Browse the repository at this point in the history
  • Loading branch information
BalduinLandolt authored Jun 11, 2024
1 parent f2edd6f commit 02debbc
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9146,19 +9146,21 @@
},
{
"knora-api:isLinkValueProperty": true,
"rdfs:label": "Related Resources",
"rdfs:subPropertyOf": {
"@id": "knora-api:hasLinkToValue"
},
"knora-api:isEditable": true,
"knora-api:isResourceProperty": true,
"knora-api:subjectType": {
"@id": "knora-api:Resource"
},
"@type": "owl:ObjectProperty",
"knora-api:objectType": {
"@id": "knora-api:LinkValue"
},
"@id": "knora-api:relatesToValue"
"@id": "knora-api:relatesToValue",
"knora-api:subjectType": {
"@id": "knora-api:Resource"
},
"rdfs:comment": "Indicates that this resource relates to another resource"
},
{
"@id": "knora-api:resourceIcon",
Expand Down
7 changes: 6 additions & 1 deletion webapi/src/main/resources/knora-ontologies/knora-base.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
rdf:type owl:Ontology ;
rdfs:label "The Knora base ontology"@en ;
:attachedToProject knora-admin:SystemProject ;
:ontologyVersion "knora-base v39" .
:ontologyVersion "knora-base v40" .


#################################################################
Expand Down Expand Up @@ -2312,6 +2312,11 @@

:relatesToValue
rdf:type owl:ObjectProperty ;
rdfs:label "Related Resources"@en ,
"Verknüpfte Ressourcen"@de ,
"Ressources associées"@fr ,
"Risorse correlate"@it ;
rdfs:comment "Indicates that this resource relates to another resource"@en ;
:objectClassConstraint :LinkValue ;
:subjectClassConstraint :Resource ;
:isEditable true ;
Expand Down
2 changes: 1 addition & 1 deletion webapi/src/main/scala/org/knora/webapi/package.scala
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ package object webapi {
* The version of `knora-base` and of the other built-in ontologies that this version of Knora requires.
* Must be the same as the object of `knora-base:ontologyVersion` in the `knora-base` ontology being used.
*/
val KnoraBaseVersion: Int = 39
val KnoraBaseVersion: Int = 40
val KnoraBaseVersionString: String = s"$versionPrefix$KnoraBaseVersion"

/**
Expand Down

0 comments on commit 02debbc

Please sign in to comment.