Skip to content

Commit 8632a3e

Browse files
committed
#222, #288: Update SHACL-SHACL for general NodeExpression and SelectExpression
Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
1 parent 8a7748c commit 8632a3e

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

shacl12-vocabularies/shacl-shacl.ttl

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,6 @@ shsh:ShapeShape
8484
# Shapes are either node shapes or property shapes
8585
sh:xone ( shsh:NodeShapeShape shsh:PropertyShapeShape ) ;
8686

87-
sh:property [
88-
sh:path sh:targetNode ;
89-
sh:nodeKind sh:IRIOrLiteral ; # targetNode-nodeKind
90-
] ;
9187
sh:property [
9288
sh:path sh:targetClass ;
9389
sh:nodeKind sh:IRI ; # targetClass-nodeKind
@@ -409,3 +405,14 @@ shsh:EntailmentShape
409405
a sh:NodeShape ;
410406
sh:targetObjectsOf sh:entailment ;
411407
sh:nodeKind sh:IRI . # entailment-nodeKind
408+
409+
shsh:SelectExpressionShape
410+
a sh:NodeShape ; # SelectExpression-syntax
411+
sh:targetClass sh:SelectExpression ;
412+
sh:targetSubjectsOf sh:select ;
413+
sh:nodeKind sh:BlankNode ;
414+
sh:property [
415+
sh:datatype xsd:string ;
416+
sh:maxCount 1 ;
417+
sh:path sh:select ;
418+
] .

0 commit comments

Comments
 (0)