metadata-qa-api
metadata-qa-api copied to clipboard
In
In := vals:Set[RDF term]
fail if the value node is not in the set vals. The n-ary variant HasValue passes if any value matches the supplied argument.
example:
<NoActionIssueShape> sh:property [ sh:predicate ex:state; sh:in (ex:Resolved, ex:Rejected) ] .
<issue1> ex:state ex:Resolved .
<issue2> ex:state ex:Unresolved .
<IssueShape> <issue1> pass
<IssueShape> <issue2> fail ex:state expected to be ex:Resolved, ex:Unresolved found.