From 9df975aa62c949b27980c06dd6b117bb90843a29 Mon Sep 17 00:00:00 2001 From: Miel Vander Sande Date: Wed, 12 Feb 2025 13:55:41 +0100 Subject: [PATCH 1/3] Fix height --- description/description.shacl.ttl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/description/description.shacl.ttl b/description/description.shacl.ttl index e431c8b..d33036b 100644 --- a/description/description.shacl.ttl +++ b/description/description.shacl.ttl @@ -1239,12 +1239,12 @@ sh:maxCount 1 ; - sh:name "Width"@en ; + sh:name "Height"@en ; sh:name "Hoogte"@nl ; sh:name "Hauteur"@fr ; sh:description "De hoogte van bijvoorbeeld een videoframe wordt doorgaans uitgedrukt in aantal pixels, of van een afbeelding in millimeters."@nl; - sh:description "The width of e.g. a video frame typically expressed as a number of pixels, or picture/image in millimeters."@en; + sh:description "The height of e.g. a video frame typically expressed as a number of pixels, or picture/image in millimeters."@en; sh:description "La hauteur d'un cadre vidéo, par exemple, est généralement exprimée en nombre de pixels, ou d'une image en millimètres."@fr; sh:message "ebucore:height is not of type xsd:integer"@en ; From 092ea4244cbf0b0f567466554e8d12ac2b813606 Mon Sep 17 00:00:00 2001 From: Miel Vander Sande Date: Wed, 12 Feb 2025 13:57:25 +0100 Subject: [PATCH 2/3] upgrade version --- description/audiovisual.shacl.ttl | 2 +- description/bibliographic.shacl.ttl | 2 +- description/description.shacl.ttl | 2 +- description/film.shacl.ttl | 2 +- events/events.shacl.ttl | 2 +- objects/objects.shacl.ttl | 2 +- organizations/organizations.shacl.ttl | 2 +- terms/terms.shacl.ttl | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/description/audiovisual.shacl.ttl b/description/audiovisual.shacl.ttl index fba2d5b..90de6b8 100644 --- a/description/audiovisual.shacl.ttl +++ b/description/audiovisual.shacl.ttl @@ -37,7 +37,7 @@ dct:description """Data model to describe the content of audiovisual objects."""@en ; dct:description """Modèle de données pour décrire le contenu des objets audiovisuels."""@fr ; dct:description """Datamodel om de inhoud van audiovisuele objecten te beschrijven."""@nl ; - pav:version "0.0.1" . + pav:version "1.0.0" . <#DVDNodeShape> a sh:NodeShape ; sh:targetClass haDes:DVD ; diff --git a/description/bibliographic.shacl.ttl b/description/bibliographic.shacl.ttl index b461b3b..3abac35 100644 --- a/description/bibliographic.shacl.ttl +++ b/description/bibliographic.shacl.ttl @@ -38,7 +38,7 @@ dct:description """Data model to provide a detailed description of bibliographic objects and their components."""@en ; dct:description """Modèle de données pour fournir une description détaillée des objets bibliographiques et leurs composants."""@fr ; dct:description """Datamodel voor de gedetailleerde beschrijving van bibliografische objecten en hun componenten."""@nl ; - pav:version "0.0.1" . + pav:version "1.0.0" . <#NewspaperIssueNodeShape> a sh:NodeShape ; sh:targetClass haDes:NewspaperIssue ; diff --git a/description/description.shacl.ttl b/description/description.shacl.ttl index d33036b..d33e7b4 100644 --- a/description/description.shacl.ttl +++ b/description/description.shacl.ttl @@ -42,7 +42,7 @@ dct:description """Data model to describe the content of objects."""@en ; dct:description """Modèle de données pour décrire le contenu des objets."""@fr ; dct:description """Datamodel voor de beschrijving van de inhoud van objecten."""@nl ; - pav:version "0.0.1" . + pav:version "1.0.0" . ############################## # NodeShapes # diff --git a/description/film.shacl.ttl b/description/film.shacl.ttl index 55e3c63..8ee14d8 100644 --- a/description/film.shacl.ttl +++ b/description/film.shacl.ttl @@ -40,7 +40,7 @@ dct:description """Datamodel voor de gedetailleerde beschrijving van Filmobjecten en hun componenten."""@nl ; dct:created "2022-01-07" ; dct:modified "2024-01-17" ; - pav:version "0.0.1" . + pav:version "1.0.0" . <#FilmNodeShape> a sh:NodeShape ; sh:targetClass haDes:Film ; diff --git a/events/events.shacl.ttl b/events/events.shacl.ttl index 3eb313d..29d2c17 100644 --- a/events/events.shacl.ttl +++ b/events/events.shacl.ttl @@ -48,7 +48,7 @@ owl:imports ; owl:imports ; owl:imports ; - pav:version "0.0.1" . + pav:version "1.0.0" . <#ActivityShape> a sh:NodeShape ; diff --git a/objects/objects.shacl.ttl b/objects/objects.shacl.ttl index 52b466f..efe8344 100644 --- a/objects/objects.shacl.ttl +++ b/objects/objects.shacl.ttl @@ -50,7 +50,7 @@ owl:imports ; owl:imports ; owl:imports ; - pav:version "0.0.1" . + pav:version "1.0.0" . ##################################### # SHAPES # diff --git a/organizations/organizations.shacl.ttl b/organizations/organizations.shacl.ttl index 6f745d1..1ffc4d1 100644 --- a/organizations/organizations.shacl.ttl +++ b/organizations/organizations.shacl.ttl @@ -40,7 +40,7 @@ dct:description """Data model to describe organizations."""@en ; dct:description """Modèle de données pour décrire des organisations."""@fr ; dct:description """Datamodel voor het beschrijven van organisaties."""@nl ; - pav:version "0.0.1" . + pav:version "1.0.0" . ##################################### # SHAPES # diff --git a/terms/terms.shacl.ttl b/terms/terms.shacl.ttl index 4b2fc48..8d31b58 100644 --- a/terms/terms.shacl.ttl +++ b/terms/terms.shacl.ttl @@ -41,7 +41,7 @@ dct:description """Data model to describe structured lists of terms such as thesauri."""@en ; dct:description """Modèle de données pour décrire des listes structurées de termes tels que le thésaure."""@fr ; dct:description """Datamodel voor het beschrijven van gestructureerde lijsten van termen zoals thesauri."""@nl ; - pav:version "0.0.1" . + pav:version "1.0.0" . <#CollectionShape> a sh:NodeShape ; From c97f9addc7e8f770d8bdec236acd22afd89aa2e0 Mon Sep 17 00:00:00 2001 From: Miel Vander Sande Date: Thu, 13 Feb 2025 10:36:30 +0100 Subject: [PATCH 3/3] Fixes to models --- description/description.shacl.ttl | 51 +++++++++++++++---------------- gendocs.sh | 4 +-- ontologies/schema.rdfs.ttl | 11 +++++++ 3 files changed, 38 insertions(+), 28 deletions(-) mode change 100644 => 100755 gendocs.sh diff --git a/description/description.shacl.ttl b/description/description.shacl.ttl index d33e7b4..f0764bc 100644 --- a/description/description.shacl.ttl +++ b/description/description.shacl.ttl @@ -481,7 +481,6 @@ sh:name "object type"@en ; sh:name "type d'objet"@fr ; sh:name "type object"@nl ; - sh:description ""@en ; sh:severity sh:Violation ; sh:message "schema:hasObjectType is not of type string"@en ; sh:message "schema:hasObjectType is niet van het type string"@nl ; @@ -1140,7 +1139,7 @@ sh:nodeKind sh:Literal ; sh:datatype xsd:time ; sh:maxCount 1 ; - sh:name "startTime"@en ; + sh:name "start time"@en ; sh:name "starttijd"@nl ; sh:name "heure de départ"@fr ; sh:description "Het tijdstip waarop het fragment start."@nl; @@ -1157,7 +1156,7 @@ sh:nodeKind sh:Literal ; sh:datatype xsd:time ; sh:maxCount 1 ; - sh:name "endTime"@en ; + sh:name "end time"@en ; sh:name "eindtijd"@nl ; sh:name "heure de fin"@fr ; sh:description "Het tijdstip waarop het fragment stopt."@nl; @@ -1176,9 +1175,9 @@ sh:maxCount 1 ; - sh:name "Region delimiter (x-axis)"@en ; - sh:name "Regio-afbakening (x-as)"@nl ; - sh:name "Délimiteur de région (axe des x)"@fr ; + sh:name "region delimiter (x-axis)"@en ; + sh:name "regio-afbakening (x-as)"@nl ; + sh:name "délimiteur de région (axe des x)"@fr ; sh:description "Het definiëren van de linkerbovenhoek van een zone op de x-as."@nl; sh:description "To define the top left corner of a zone on the x-axis."@en; @@ -1197,9 +1196,9 @@ sh:maxCount 1 ; - sh:name "Region delimiter (y-axis)"@en ; - sh:name "Regio-afbakening (y-as)"@nl ; - sh:name "Délimiteur de région (axe des y)"@fr ; + sh:name "region delimiter (y-axis)"@en ; + sh:name "regio-afbakening (y-as)"@nl ; + sh:name "délimiteur de région (axe des y)"@fr ; sh:description "Het definiëren van de linkerbovenhoek van een zone op de y-as."@nl; sh:description "To define the top left corner of a zone on the y-axis."@en; @@ -1218,9 +1217,9 @@ sh:maxCount 1 ; - sh:name "Width"@en ; - sh:name "Breedte"@nl ; - sh:name "Largeur"@fr ; + sh:name "width"@en ; + sh:name "breedte"@nl ; + sh:name "largeur"@fr ; sh:description "De breedte van bijvoorbeeld een videoframe wordt doorgaans uitgedrukt in aantal pixels, of van een afbeelding in millimeters."@nl; sh:description "The width of e.g. a video frame typically expressed as a number of pixels, or picture/image in millimeters."@en; @@ -1239,9 +1238,9 @@ sh:maxCount 1 ; - sh:name "Height"@en ; - sh:name "Hoogte"@nl ; - sh:name "Hauteur"@fr ; + sh:name "height"@en ; + sh:name "hoogte"@nl ; + sh:name "hauteur"@fr ; sh:description "De hoogte van bijvoorbeeld een videoframe wordt doorgaans uitgedrukt in aantal pixels, of van een afbeelding in millimeters."@nl; sh:description "The height of e.g. a video frame typically expressed as a number of pixels, or picture/image in millimeters."@en; @@ -1318,9 +1317,9 @@ sh:minCount 0; sh:maxCount 1; - sh:name "Annotation type"@en ; + sh:name "annotation type"@en ; sh:name "type annotatie"@nl ; - sh:name "Type d'annotation"@fr ; + sh:name "type d'annotation"@fr ; sh:description "Om het type annotatie te definiëren, zoals een herkend gezicht of Named Entity."@nl ; sh:description "To define a type of Annotation, such as a recognized face or Named Entity."@en ; @@ -1337,9 +1336,9 @@ sh:minCount 1; sh:maxCount 1; - sh:name "Annotation target"@en ; - sh:name "Annotatiedoel"@nl ; - sh:name "Cible d'annotation"@fr ; + sh:name "annotation target"@en ; + sh:name "annotatiedoel"@nl ; + sh:name "cible d'annotation"@fr ; sh:description "Om het doelbestand te definiëren waarop de annotatie van toepassing is."@nl ; sh:description "To define the target file to which the Annotation applies."@en ; @@ -1356,9 +1355,9 @@ sh:minCount 1; sh:maxCount 1; - sh:name "Annotation subject"@en ; - sh:name "Annotatie onderwerp"@nl ; - sh:name "Sujet d'annotation"@fr ; + sh:name "annotation subject"@en ; + sh:name "annotatie onderwerp"@nl ; + sh:name "sujet d'annotation"@fr ; sh:description "Het onderwerp van de annotatie."@nl ; sh:description "The subject of the Annotation."@en; @@ -1374,9 +1373,9 @@ sh:maxCount 1; - sh:name "Annotation person subject"@en ; - sh:name "Annotatie persoon onderwerp"@nl ; - sh:name "Sujet d'annotation person"@fr ; + sh:name "annotation person subject"@en ; + sh:name "annotatie persoon onderwerp"@nl ; + sh:name "sujet d'annotation person"@fr ; sh:description "Het onderwerp (persoon) van de annotatie."@nl ; sh:description "The subject (person) of the Annotation."@en; diff --git a/gendocs.sh b/gendocs.sh old mode 100644 new mode 100755 index 3f97dd9..308d96a --- a/gendocs.sh +++ b/gendocs.sh @@ -3,8 +3,8 @@ # output dir out=${1:-./output} parent="Knowledge Graph" -pip install shacl2md --extra-index-url http://do-prd-mvn-01.do.viaa.be:8081/repository/pypi-all/simple --trusted-host do-prd-mvn-01.do.viaa.be -shacl2md organization:organizations/organizations.shacl.ttl \ +#pip install shacl2md --extra-index-url http://do-prd-mvn-01.do.viaa.be:8081/repository/pypi-all/simple --trusted-host do-prd-mvn-01.do.viaa.be +shacl2md generate organization:organizations/organizations.shacl.ttl \ object:objects/objects.shacl.ttl \ descriptive:description/description.shacl.ttl \ events:events/events.shacl.ttl \ diff --git a/ontologies/schema.rdfs.ttl b/ontologies/schema.rdfs.ttl index cabbaf7..b36145f 100644 --- a/ontologies/schema.rdfs.ttl +++ b/ontologies/schema.rdfs.ttl @@ -657,6 +657,17 @@ schema:name a rdf:Property ; skos:definition "Le nom de l'article."@fr ; rdfs:isDefinedBy . +schema:containedInPlace a rdf:Property ; + rdfs:label "containedInPlace"@en ; + rdfs:label "opgenomenInPlaats"@nl ; + rdfs:label "contenuEnPlace"@fr ; + rdfs:domain schema:Place ; + rdfs:range schema:Place ; + skos:definition "The basic containment relation between a place and one that contains it."@en; + skos:definition "De basis verbindingsrelatie tussen een plaats en een die deze bevat."@nl; + skos:definition "La relation de confinement de base entre un lieu et une qui le contient."@fr; + rdfs:isDefinedBy . + schema:postalCode a rdf:Property ; schema:domainIncludes schema:DefinedRegion, schema:GeoCoordinates,