Package org.topbraid.shacl.arq.functions
Class ValuesPFunction
java.lang.Object
org.apache.jena.sparql.pfunction.PropertyFunctionBase
org.topbraid.shacl.arq.functions.ValuesPFunction
- All Implemented Interfaces:
org.apache.jena.sparql.pfunction.PropertyFunction
public class ValuesPFunction
extends org.apache.jena.sparql.pfunction.PropertyFunctionBase
The property function tosh:values.
Binds the variable on the right hand side with all values of a given predicate at a given focus node,
including any values inferred by sh:values statements.
(?focusNode ?predicate) tosh:values ?result .
Also works for some cases if the right hand side is concrete.
- Author:
- Holger Knublauch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.jena.sparql.engine.QueryIteratorexec(org.apache.jena.sparql.engine.binding.Binding binding, org.apache.jena.sparql.pfunction.PropFuncArg argSubject, org.apache.jena.graph.Node predicate, org.apache.jena.sparql.pfunction.PropFuncArg argObject, org.apache.jena.sparql.engine.ExecutionContext execCxt) Methods inherited from class org.apache.jena.sparql.pfunction.PropertyFunctionBase
build, exec
-
Constructor Details
-
ValuesPFunction
public ValuesPFunction()
-
-
Method Details
-
exec
public org.apache.jena.sparql.engine.QueryIterator exec(org.apache.jena.sparql.engine.binding.Binding binding, org.apache.jena.sparql.pfunction.PropFuncArg argSubject, org.apache.jena.graph.Node predicate, org.apache.jena.sparql.pfunction.PropFuncArg argObject, org.apache.jena.sparql.engine.ExecutionContext execCxt) - Specified by:
execin classorg.apache.jena.sparql.pfunction.PropertyFunctionBase
-