Skip to content

Commit

Permalink
Fixes to models
Browse files Browse the repository at this point in the history
  • Loading branch information
mielvds committed Feb 13, 2025
1 parent 092ea42 commit c97f9ad
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 28 deletions.
51 changes: 25 additions & 26 deletions description/description.shacl.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -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 ;
Expand Down Expand Up @@ -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;
Expand All @@ -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;
Expand All @@ -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;
Expand All @@ -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;
Expand All @@ -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;
Expand All @@ -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;
Expand Down Expand Up @@ -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 ;
Expand All @@ -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 ;
Expand All @@ -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;
Expand All @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions gendocs.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
11 changes: 11 additions & 0 deletions ontologies/schema.rdfs.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -657,6 +657,17 @@ schema:name a rdf:Property ;
skos:definition "Le nom de l'article."@fr ;
rdfs:isDefinedBy <https://schema.org/> .

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 <https://schema.org/> .

schema:postalCode a rdf:Property ;
schema:domainIncludes schema:DefinedRegion,
schema:GeoCoordinates,
Expand Down

0 comments on commit c97f9ad

Please sign in to comment.