- All Implemented Interfaces:
- org.apache.jena.sparql.function.Function, org.apache.jena.sparql.function.FunctionFactory
public class EvalInGraphFunction
extends AbstractFunction
The SPARQL function spin:evalInGraph.
The first argument is a SPIN expression, e.g. a function call or variable.
The second argument is a graph URI: this is the graph that the query operates on,
while the active graph must be the one hosting the SPIN expression tree.
All other arguments must come in pairs, alternating between an argument property
and its value, e.g.
spin:evalInGraph(ex:myInstance, ex:MyGraph, sp:arg3, "value")
The expression will be evaluated with all bindings from the property-value pairs above.
- Author:
- Holger Knublauch