Skip to content
Draft
43 changes: 43 additions & 0 deletions shacl12-vocabularies/shacl-shacl.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -409,3 +409,46 @@ shsh:EntailmentShape
a sh:NodeShape ;
sh:targetObjectsOf sh:entailment ;
sh:nodeKind sh:IRI . # entailment-nodeKind


shsh:SPARQLAskExecutableShape
a sh:NodeShape ;
sh:targetSubjectsOf sh:ask , sh:resultAnnotation ;
sh:property [
sh:path sh:ask ;
sh:minCount 1 ; # ask-count
sh:maxCount 1 ; # ask-count
sh:datatype xsd:string ; # ask-datatype
] .

shsh:SPARQLSelectExecutableShape
a sh:NodeShape ;
sh:targetSubjectsOf sh:select , sh:resultAnnotation ;
sh:property [
sh:path sh:select ;
sh:minCount 1 ; # SPARQLConstraint-select-count
sh:maxCount 1 ; # SPARQLConstraint-select-count
sh:datatype xsd:string ; # SPARQLConstraint-select-datatype
] .

shsh:ResultAnnotationShape
a sh:NodeShape ;
sh:targetObjectsOf sh:resultAnnotation ; # sparql-constraints-annotations
sh:nodeKind sh:BlankNodeOrIRI ; # resultAnnotation-nodeKind
sh:property
[
sh:path sh:annotationProperty ; # annotationProperty
sh:minCount 1 ;
sh:maxCount 1 ;
sh:nodeKind sh:IRI ;
] ,
[
sh:path sh:annotationVarName ; # annotationVarName
sh:datatype xsd:string ;
sh:maxCount 1 ;
sh:nodeKind sh:Literal ;
] ,
[
sh:path sh:annotationValue ; # annotationValue
sh:nodeKind sh:IRI ;
] .