Skip to content

Commit

Permalink
Deprecate the rb:hasVersion property, use dcat:version instead
Browse files Browse the repository at this point in the history
  • Loading branch information
Ostrzyciel committed Sep 19, 2024
1 parent 4d3d6f8 commit 4c4d5e2
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
11 changes: 8 additions & 3 deletions src/documentation.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ _:genid1 foaf:homepage <https://github.com/Ostrzyciel> ,

### http://purl.org/dc/terms/conformsTo
dcterms:conformsTo rdf:type owl:AnnotationProperty ;
rbdoc:hasDocGroup rbdoc:groupGeneralInfo ;
rbdoc:isHiddenInDoc "true"^^xsd:boolean .
rbdoc:hasDocGroup rbdoc:groupGeneralInfo .


### http://purl.org/dc/terms/contributor
Expand Down Expand Up @@ -316,6 +315,11 @@ dcat:seriesMember rbdoc:hasDocWeight "50"^^xsd:int ;
rbdoc:hasDocGroup rbdoc:groupGeneralInfo .


dcat:version rbdoc:hasDocWeight "3"^^xsd:int ;
rbdoc:hasLabelOverride "Has version"@en ;
rbdoc:hasDocGroup rbdoc:groupGeneralInfo .


foaf:homepage rbdoc:hasDocGroup rbdoc:groupGeneralInfo ;
rbdoc:hasDocWeight "20"^^xsd:int .

Expand Down Expand Up @@ -423,7 +427,8 @@ rb:hasTemporalProperty rbdoc:hasDocGroup rbdoc:groupTechnicalMetadata ;


rb:hasVersion rbdoc:hasDocWeight "3"^^xsd:int ;
rbdoc:hasDocGroup rbdoc:groupGeneralInfo .
rbdoc:hasDocGroup rbdoc:groupGeneralInfo ;
rbdoc:isHiddenInDoc "true"^^xsd:boolean .


rb:inCategory rbdoc:hasDocGroup rbdoc:groupGeneralInfo ;
Expand Down
11 changes: 9 additions & 2 deletions src/metadata.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,11 @@ rb:usesTask rdf:type owl:ObjectProperty ;
# Data properties
#################################################################

### http://www.w3.org/ns/dcat#version
dcat:version rdf:type owl:DatatypeProperty ;
owl:equivalentProperty rb:hasVersion .


### https://w3id.org/riverbench/schema/metadata#conformanceProperty
rb:conformanceProperty rdf:type owl:DatatypeProperty ;
rdfs:subPropertyOf owl:topDataProperty ;
Expand Down Expand Up @@ -367,9 +372,11 @@ rb:hasStreamElementCount rdf:type owl:DatatypeProperty ;

### https://w3id.org/riverbench/schema/metadata#hasVersion
rb:hasVersion rdf:type owl:DatatypeProperty ;
owl:equivalentProperty dcat:version ;
rdfs:range xsd:string ;
rdfs:comment "Version tag of an artifact"@en ;
rdfs:label "Has version"@en .
rdfs:comment "Version tag of an artifact. This property is deprecated since RiverBench schema release 2.2.0 and will be removed in version 2.3.0. Use dcat:version instead."@en ;
rdfs:label "Has version (deprecated)"@en ;
owl:deprecated "true"^^xsd:boolean .


### https://w3id.org/riverbench/schema/metadata#maximum
Expand Down

0 comments on commit 4c4d5e2

Please sign in to comment.