metadata-qa-api icon indicating copy to clipboard operation
metadata-qa-api copied to clipboard

TargetObjectsOf

Open pkiraly opened this issue 9 years ago • 0 comments

TargetObjectsOf := predicate:IRI

sh:targetObjectsOf: A TargetObjectsOf matches any object node in the data graph with a triple (, predicate, node) where "" is any node.

In a graph with some triples with ex:submittedOn predicates:

<http://a.example/Workflow1> ex:relatedTo <http://a.example/Issue1> .
<http://a.example/Workflow2> ex:waitingOn <http://a.example/Issue2> .
<http://a.example/Workflow3> ex:waitingOn <http://a.example/Issue3> .

sh:targetObjectsOf selects the nodes that appear as subjects in triples with predicate as a predicate:

<IssueShape> sh:targetObjectsOf ex:waitingOn .

This selects <http://a.example/Workflow2> and <http://a.example/Workflow3> for valdiation.

Parent issue is Targets #36

pkiraly avatar Sep 29 '16 07:09 pkiraly