Skip to content

Commit

Permalink
Remove ids:version
Browse files Browse the repository at this point in the history
Remove ids:version, instead use dct:hasVersion
  • Loading branch information
lcomet committed Sep 20, 2021
1 parent a300fb7 commit 0e580bf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
ids:resourceEndpoint <https://w3id.org/idsa/autogen/interactiveEndpoint/4a99a3df-0f0a-4353-8908-043ed7f5cf4a> ;
ids:resourceEndpoint <https://w3id.org/idsa/autogen/metaEndpoint/4a99a3df-0f0a-4353-8908-043ed7f5cf4a> ;
ids:standardLicense <https://w3id.org/idsa/code/license/CREATIVECOMMONSATTRIBUTION> ;
ids:version "Version 1" .
dct:hasVersion "Version 1" .

<https://w3id.org/idsa/autogen/staticEndpoint/4a99a3df-0f0a-4353-8908-043ed7f5cf4a>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> ids:StaticEndpoint ;
Expand Down Expand Up @@ -79,7 +79,7 @@
ids:resourceEndpoint <https://w3id.org/idsa/autogen/interactiveEndpoint/4a99a3df-0f0a-4353-8908-043ed7f5cf4a> ;
ids:resourceEndpoint <https://w3id.org/idsa/autogen/metaEndpoint/4a99a3df-0f0a-4353-8908-043ed7f5cf4a> ;
ids:standardLicense <https://w3id.org/idsa/code/license/CREATIVECOMMONSATTRIBUTION> ;
ids:version "Version 1" .
dct:hasVersion "Version 1" .

<https://w3id.org/idsa/autogen/resource/resource:uuid:db2c1abe-0bec-4278-8916-def8dcb982a6>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> ids:Resource ;
Expand All @@ -89,4 +89,4 @@
ids:resourceEndpoint <https://w3id.org/idsa/autogen/interactiveEndpoint/4a99a3df-0f0a-4353-8908-043ed7f5cf4a> ;
ids:resourceEndpoint <https://w3id.org/idsa/autogen/metaEndpoint/4a99a3df-0f0a-4353-8908-043ed7f5cf4a> ;
ids:standardLicense <https://w3id.org/idsa/code/license/CREATIVECOMMONSATTRIBUTION> ;
ids:version "Version 1" .
dct:hasVersion "Version 1" .
11 changes: 0 additions & 11 deletions model/traceability/ManagedEntity.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,3 @@ ids:ManagedEntity
rdfs:label "Managed entity"@en ;
rdfs:comment "The class of mutable individuals."@en;
.

# Properties of ManagedEntity
# -------------------------------------

ids:version a owl:DatatypeProperty;
rdfs:subPropertyOf dct:hasVersion;
rdfs:label "version"@en;
rdfs:domain ids:ManagedEntity;
rdfs:range xsd:string;
rdfs:comment "Version identifier of the Managed Entity"@en.

4 changes: 2 additions & 2 deletions testing/traceability/ManagedEntityShape.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ shapes:ManagedEntityShape

sh:property [
a sh:PropertyShape ;
sh:path ids:version ;
sh:path dct:hasVersion ;
sh:datatype xsd:string ;
sh:maxCount 1 ;
sh:severity sh:Violation ;
sh:message "<https://raw.githubusercontent.com/International-Data-Spaces-Association/InformationModel/master/testing/traceability/ManagedEntityShape.ttl> (ManagedEntityShape): An ids:version property must point from an ids:ManagedEntity to zero or one xsd:string."@en ;
sh:message "<https://raw.githubusercontent.com/International-Data-Spaces-Association/InformationModel/master/testing/traceability/ManagedEntityShape.ttl> (ManagedEntityShape): A dct:hasVersion property must point from an ids:ManagedEntity to zero or one xsd:string."@en ;
] .

0 comments on commit 0e580bf

Please sign in to comment.