Hi Tim,
your example has sh:qualifiedValueShapesDisjoint true on all three
cases, but they are NOT disjoint. All that the three helper shapes
verify is that the values of rdfs:label are strings. Nothing else. The
constraint applies to all instances.
Did you probably expect that sh:node would
Hi Holger,
I had not tried sh:qualifiedValueShape. After adding three sh:property
statements for the st:owns property, it worked mostly as expected. I added
a fourth property shape to ensure that st:owns has only instances of the
three classes as the object. Otherwise, once the three
qualifiedV
Hi Tim,
have you tried
https://www.w3.org/TR/shacl/#QualifiedValueShapeConstraintComponent with
min count and max count 1 and sh:class? You need three property shapes
on the same property.
Holger
On 3/07/2021 7:51 am, Tim Smith wrote:
Hi,
I have a need to model this constraint in SHACL:
Hi,
I have a need to model this constraint in SHACL:
*An Entertainment Holding Company must own one and only one instance of
EACH of the following classes: Movie Company, Racing Company, and Streaming
Company in order to be a valid instance of Entertainment Holding Company.*
This is an example o