Skip to content

Commit 6d3bd94

Browse files
committed
chore: implement list nodeKinds on sh:class and sh:datatypes
1 parent 59d82da commit 6d3bd94

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

shacl12-vocabularies/shacl-shacl.ttl

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,10 @@ shsh:ShapeShape
127127
] ;
128128
sh:property [
129129
sh:path sh:class ;
130-
sh:nodeKind sh:IRI ; # class-nodeKind
130+
sh:or (
131+
[ sh:nodeKind sh:IRI ]
132+
[ sh:memberShape [ sh:nodeKind sh:IRI ] ]
133+
) ; # class-nodeKind
131134
] ;
132135
sh:property [
133136
sh:path sh:closed ;
@@ -142,7 +145,10 @@ shsh:ShapeShape
142145
] ;
143146
sh:property [
144147
sh:path sh:datatype ;
145-
sh:nodeKind sh:IRI ; # datatype-nodeKind
148+
sh:or (
149+
[ sh:nodeKind sh:IRI ]
150+
[ sh:memberShape [ sh:nodeKind sh:IRI ] ]
151+
) ; # datatype-nodeKind
146152
sh:maxCount 1 ; # datatype-maxCount
147153
] ;
148154
sh:property [

0 commit comments

Comments
 (0)