Skip to content

Commit 172fb65

Browse files
committed
chore: implement list nodeKinds on sh:class and sh:datatypes
1 parent e411b55 commit 172fb65

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
@@ -129,7 +129,10 @@ shsh:ShapeShape
129129
] ;
130130
sh:property [
131131
sh:path sh:class ;
132-
sh:nodeKind sh:IRI ; # class-nodeKind
132+
sh:or (
133+
[ sh:nodeKind sh:IRI ]
134+
[ sh:memberShape [ sh:nodeKind sh:IRI ] ]
135+
) ; # class-nodeKind
133136
] ;
134137
sh:property [
135138
sh:path sh:closed ;
@@ -144,7 +147,10 @@ shsh:ShapeShape
144147
] ;
145148
sh:property [
146149
sh:path sh:datatype ;
147-
sh:nodeKind sh:IRI ; # datatype-nodeKind
150+
sh:or (
151+
[ sh:nodeKind sh:IRI ]
152+
[ sh:memberShape [ sh:nodeKind sh:IRI ] ]
153+
) ; # datatype-nodeKind
148154
sh:maxCount 1 ; # datatype-maxCount
149155
] ;
150156
sh:property [

0 commit comments

Comments
 (0)