-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
TargetNode := node:IRI|literal|BNode
sh:targetNode: A TargetNode matches node if node appears as a node (any subject or object in a triple) in the data graph.
# In a graph with multiple nodes:
<http://a.example/Alice> foaf:name "Alice" ; foaf:knows <http://a.example/Bob> .
<http://a.example/Bob> foaf:name "Bob" .
<http://a.example/Sue> foaf:name "Sue" .
# sh:targetNode could select a subset of them to be tested against the <Person> and <Name> shapes:
<PersonShape> sh:targetNode <http://a.example/Bob>, <http://a.example/Sue> .
<NameShape> sh:targetNode "Alice", "Bob" .
Parent issue is Targets #36