Class SPARQLMultiFunction

  • All Implemented Interfaces:
    MultiFunction

    public class SPARQLMultiFunction
    extends AbstractMultiFunction
    A MultiFunction based on a dash:SPARQLMultiFunction. This essentially wraps a SPARQL SELECT query, iterating over its result bindings on demand, making sure that it gets closed.
    Author:
    Holger Knublauch
    • Method Detail

      • execute

        public org.apache.jena.sparql.engine.QueryIterator execute​(List<org.apache.jena.graph.Node> args,
                                                                   org.apache.jena.graph.Graph activeGraph,
                                                                   org.apache.jena.sparql.core.DatasetGraph dataset)
        Description copied from interface: MultiFunction
        Executes the multi-function for a given list of arguments.
        Parameters:
        args - the argument values, matching the declared parameters from left to right
        activeGraph - the currently active query graph
        dataset - the DatasetGraph to operate on
        Returns:
        a QueryIterator with name-value pairs