Skip to content

Commit

Permalink
completed finetuning and also debugged shacl syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
kurzum committed Dec 22, 2021
1 parent f286260 commit 35338bf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions model-docu/model.php
Expand Up @@ -139,7 +139,7 @@
sh:minCount 1 ;
sh:maxCount 1;
sh:message "Exactly one subject with an rdf:type of dataid:Group must occur."@en ;
]
] ;
sh:property [
sh:path [ sh:inversePath rdf:type ] ;
sh:nodekind sh:IRI ;
Expand Down Expand Up @@ -765,7 +765,7 @@
sh:targetClass dataid:Part ;
sh:severity sh:Violation ;
sh:path dataid:format ;
sh:message "A dataid:Part MUST have exactly one dataid:format of type xsd:string AND should not inlcude a \'.\' in front"@en ; xsd:string as value "@en ;
sh:message """A dataid:Part MUST have exactly one dataid:format of type xsd:string AND should not inlcude a \'.\' in front"@en ; xsd:string as value """@en ;
sh:pattern "^\." ;
sh:datatype xsd:string ;
sh:maxCount 1 ;
Expand All @@ -792,7 +792,7 @@

$shacl='<#has-formatExtension>
a sh:PropertyShape ;
sh:targetClass dataid:Part
sh:targetClass dataid:Part ;
sh:severity sh:Violation ;
sh:message "Required property dataid:formatExtension MUST occur exactly once AND have xsd:string as value"@en ;
sh:path dataid:formatExtension;
Expand Down Expand Up @@ -823,7 +823,7 @@
a sh:PropertyShape ;
sh:targetClass dataid:Part ;
sh:severity sh:Violation ;
sh:message "Required property dataid:compression MUST occur exactly once AND have xsd:string as value AND should not inlcude a \'.\' in front "@en ;
sh:message """Required property dataid:compression MUST occur exactly once AND have xsd:string as value AND should not inlcude a \'.\' in front """@en ;
sh:pattern "^\." ;
sh:path dataid:compression;
sh:minCount 1 ;
Expand Down

0 comments on commit 35338bf

Please sign in to comment.