From 26a1b31399db78b6c31ba02483be12614f200c64 Mon Sep 17 00:00:00 2001 From: Miel Vander Sande Date: Mon, 3 Jun 2024 10:55:53 +0200 Subject: [PATCH 1/2] Add IIIF property --- objects/objects.rdfs.ttl | 16 ++++++++++++++++ objects/objects.shacl.ttl | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/objects/objects.rdfs.ttl b/objects/objects.rdfs.ttl index 3d78fc0..7667094 100644 --- a/objects/objects.rdfs.ttl +++ b/objects/objects.rdfs.ttl @@ -75,6 +75,14 @@ haObj:hasAccessCopy a rdf:Property; rdfs:label "heeft toegangskopie"@nl ; rdfs:isDefinedBy . +haObj:hasIIIFCopy a rdf:Property; + rdfs:subPropertyOf rel:isr ; + owl:inverseOf haObj:isIIIFCopyOf ; + rdfs:label "has IIIF copy"@en ; + rdfs:label "a copie IIIF"@fr ; + rdfs:label "heeft IIIF-kopie"@nl ; + rdfs:isDefinedBy . + haObj:hasMasterCopy a rdf:Property; rdfs:subPropertyOf rel:isr ; owl:inverseOf haObj:isMasterCopyOf ; @@ -99,6 +107,14 @@ haObj:isAccessCopyOf a rdf:Property; rdfs:label "is toegangskopie van"@nl ; rdfs:isDefinedBy . +haObj:isIIIFCopyOf a rdf:Property; + rdfs:subPropertyOf rel:rep ; + owl:inverseOf haObj:hasIIIFCopy ; + rdfs:label "is IIIF copy of"@en ; + rdfs:label "est copie IIIF de"@fr ; + rdfs:label "is IIIF-kopie van"@nl ; + rdfs:isDefinedBy . + haObj:isMasterCopyOf a rdf:Property; rdfs:subPropertyOf rel:rep ; owl:inverseOf haObj:hasMasterCopy ; diff --git a/objects/objects.shacl.ttl b/objects/objects.shacl.ttl index e102270..08aea7f 100644 --- a/objects/objects.shacl.ttl +++ b/objects/objects.shacl.ttl @@ -205,6 +205,23 @@ sh:message "haObj:hasAccessCopy n'est pas un haObj:DigitalRepresentation"@fr ; sh:severity sh:Violation ; ], + [ + sh:path haObj:hasIIIFCopy ; + sh:class haObj:DigitalRepresentation ; + + sh:name "has IIIF Copy"@en ; + sh:name "heeft IIIF-kopie"@nl ; + sh:name "a copie de IIIF"@fr ; + + sh:description "De toegangs- of inkijkkopie van de intellectuele entiteit die beschikbaar is via de IIIF Image API"@nl ; + sh:description "The access or browse copy of the intellectual entity available via IIIF Image API."@en ; + sh:description "L'accès ou la copie de l'entité intellectuelle d'accès qui est disponible via IIIF Image API."@fr ; + + sh:message "haObj:hasIIIFCopy not a haObj:DigitalRepresentation"@en ; + sh:message "haObj:hasIIIFCopy is geen haObj:DigitalRepresentation"@nl ; + sh:message "haObj:hasIIIFCopy n'est pas un haObj:DigitalRepresentation"@fr ; + sh:severity sh:Violation ; + ], [ sh:path edm:isNextInSequence ; sh:class premis:IntellectualEntity ; @@ -388,6 +405,25 @@ sh:message "haObj:isAccessCopyOf a plus d'une valeur ou n'est pas une premis:IntellectualEntity"@fr ; sh:severity sh:Violation ; ], + [ + sh:path haObj:isIIIFCopyOf ; + sh:class premis:IntellectualEntity ; + + sh:maxCount 1 ; + + sh:name "is IIIF Copy Of"@en ; + sh:name "is IIIF-kopie van"@nl ; + sh:name "est copie IIIF de"@fr ; + + sh:description "De intellectuele entiteit waarvan deze digitale representatie de IIIF toegangskopie is."@nl ; + sh:description "The intellectual entity of which this digital representation is the IIIF access copy."@en ; + sh:description "L'entité intellectuelle dont cette représentation digital est l'accès IIIF."@fr ; + + sh:message "haObj:isIIIFCopyOf has more than one value or not a premis:IntellectualEntity"@en ; + sh:message "haObj:isIIIFCopyOf heeft meer dan één waarde of is geen premis:IntellectualEntity"@nl ; + sh:message "haObj:isIIIFCopyOf a plus d'une valeur ou n'est pas une premis:IntellectualEntity"@fr ; + sh:severity sh:Violation ; + ], [ sh:path rel:inc ; sh:class premis:File ; From aedba85dbfde581dc3788fc87e29b87e622e2a74 Mon Sep 17 00:00:00 2001 From: Miel Vander Sande Date: Tue, 4 Jun 2024 16:06:31 +0200 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: milan <67414316+milvld@users.noreply.github.com> --- objects/objects.shacl.ttl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/objects/objects.shacl.ttl b/objects/objects.shacl.ttl index 08aea7f..12f315e 100644 --- a/objects/objects.shacl.ttl +++ b/objects/objects.shacl.ttl @@ -213,11 +213,11 @@ sh:name "heeft IIIF-kopie"@nl ; sh:name "a copie de IIIF"@fr ; - sh:description "De toegangs- of inkijkkopie van de intellectuele entiteit die beschikbaar is via de IIIF Image API"@nl ; +sh:description "De toegangs- of inkijkkopie van de intellectuele entiteit die beschikbaar is via de IIIF Image API."@nl ; sh:description "The access or browse copy of the intellectual entity available via IIIF Image API."@en ; sh:description "L'accès ou la copie de l'entité intellectuelle d'accès qui est disponible via IIIF Image API."@fr ; - sh:message "haObj:hasIIIFCopy not a haObj:DigitalRepresentation"@en ; +sh:message "haObj:hasIIIFCopy is not a haObj:DigitalRepresentation"@en ; sh:message "haObj:hasIIIFCopy is geen haObj:DigitalRepresentation"@nl ; sh:message "haObj:hasIIIFCopy n'est pas un haObj:DigitalRepresentation"@fr ; sh:severity sh:Violation ; @@ -419,7 +419,7 @@ sh:description "The intellectual entity of which this digital representation is the IIIF access copy."@en ; sh:description "L'entité intellectuelle dont cette représentation digital est l'accès IIIF."@fr ; - sh:message "haObj:isIIIFCopyOf has more than one value or not a premis:IntellectualEntity"@en ; +sh:message "haObj:isIIIFCopyOf has more than one value or is not a premis:IntellectualEntity"@en ; sh:message "haObj:isIIIFCopyOf heeft meer dan één waarde of is geen premis:IntellectualEntity"@nl ; sh:message "haObj:isIIIFCopyOf a plus d'une valeur ou n'est pas une premis:IntellectualEntity"@fr ; sh:severity sh:Violation ;