Package org.topbraid.shacl.arq.functions
Class TargetContainsMultiFunction
java.lang.Object
org.topbraid.shacl.multifunctions.AbstractMultiFunction
org.topbraid.shacl.multifunctions.AbstractNativeMultiFunction
org.topbraid.shacl.multifunctions.AbstractMultiFunction1
org.topbraid.shacl.arq.functions.TargetContainsMultiFunction
- All Implemented Interfaces:
MultiFunction
The property function tosh:targetContains.
Binds the variable on the right hand side with all focus nodes produced by the
SHACL target on the left hand side.
(?myTarget ?shapesGraph) tosh:targetContains ?focusNode .
- Author:
- Holger Knublauch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Iterator<org.apache.jena.graph.Node>executeIterator(List<org.apache.jena.graph.Node> args, org.apache.jena.graph.Graph activeGraph, org.apache.jena.sparql.core.DatasetGraph dataset) Produces the actual result values.Methods inherited from class org.topbraid.shacl.multifunctions.AbstractMultiFunction1
doExecuteMethods inherited from class org.topbraid.shacl.multifunctions.AbstractNativeMultiFunction
executeMethods inherited from class org.topbraid.shacl.multifunctions.AbstractMultiFunction
getAPIStatus, getDescription, getParameters, getResultVars, getURI, initFrom
-
Constructor Details
-
TargetContainsMultiFunction
public TargetContainsMultiFunction()
-
-
Method Details
-
executeIterator
protected Iterator<org.apache.jena.graph.Node> executeIterator(List<org.apache.jena.graph.Node> args, org.apache.jena.graph.Graph activeGraph, org.apache.jena.sparql.core.DatasetGraph dataset) Description copied from class:AbstractMultiFunction1Produces the actual result values.- Specified by:
executeIteratorin classAbstractMultiFunction1- Parameters:
args- the arguments from left to right (individual values may be null if optional)activeGraph- the currently active query graphdataset- the dataset- Returns:
- the iterator of results
-