Skip to content

Commit

Permalink
Merge pull request #66 from viaacode/KG-343-voeg-main-local-identifie…
Browse files Browse the repository at this point in the history
…r-toe-als-subklasse-en-aan-etl

Add primaryIdentifier property to IE
  • Loading branch information
mielvds authored Jun 3, 2024
2 parents 3aaf4a7 + e8a4563 commit a6964fd
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
10 changes: 9 additions & 1 deletion objects/objects.rdfs.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,12 @@ haObj:preservationProblem a rdf:Property;
rdfs:label "preservation problem"@en ;
rdfs:label "problème de préservation"@fr ;
rdfs:label "preservatieprobleem"@nl ;
rdfs:isDefinedBy <https://data.hetarchief.be/ns/object/> .
rdfs:isDefinedBy <https://data.hetarchief.be/ns/object/> .

haObj:primaryIdentifier a rdf:Property;
rdfs:subPropertyOf premis:identifier ;
rdfs:range haObj:LocalIdentifier;
rdfs:label "has primary identifier"@en ;
rdfs:label "a identifiant principal"@fr ;
rdfs:label "heeft primaire identificatiecode"@nl ;
rdfs:isDefinedBy <https://data.hetarchief.be/ns/object/> .
16 changes: 16 additions & 0 deletions objects/objects.shacl.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,22 @@
sh:message "premis:identifier is not a LocalIdentifier"@en ;
sh:severity sh:Violation ;
],
[
a sh:PropertyShape ;
sh:path haObj:primaryIdentifier ;
sh:class haObj:LocalIdentifier ;

rdfs:label "primary local identifier"@en ;
rdfs:label "identificateur local principal"@fr ;
rdfs:label "primaire lokale identifier"@nl ;

sh:description "The primary local identifier for the intellectual entity."@en ;
sh:description "De primaire lokale identifier voor de intellectuele entiteit."@nl ;
sh:description "Un identificateur local principal pour l'entité intellectuelle."@fr ;

sh:message "haObj:primaryIdentifier is not a LocalIdentifier"@en ;
sh:severity sh:Violation ;
],
[
sh:path rel:hsp ;
sh:class premis:IntellectualEntity ;
Expand Down

0 comments on commit a6964fd

Please sign in to comment.