Skip to content

TargetNode #37

@pkiraly

Description

@pkiraly
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

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions