You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The example below fails although it should pass because the sh:hasValue constraint is satisfied at least once (1 to n). Note that it also fails if other values besides ex:Stanford exist as end nodes for the property path (as it would be if the shape was closed).
The example below fails although it should pass because the sh:hasValue constraint is satisfied at least once (1 to n). Note that it also fails if other values besides ex:Stanford exist as end nodes for the property path (as it would be if the shape was closed).
prefix sh: http://www.w3.org/ns/shacl#
prefix ex: http://example.org/
ex:ExampleShape
a sh:NodeShape ;
sh:targetNode ex:Alice ;
sh:property [
sh:path (ex:alumniOf ex:name) ;
sh:hasValue ex:Stanford
] .
ex:Alice ex:name "Alice" ;
ex:alumniOf ex:node ;
ex:alumniOf ex:otherNode .
ex:node ex:name ex:Stanford .
ex:otherNode ex:name ex:Stanford .
The text was updated successfully, but these errors were encountered: