Class SPARQLExtIteratorFunction

java.lang.Object
fr.mines_stetienne.ci.sparql_generate.iterator.IteratorStreamFunctionBase
fr.mines_stetienne.ci.sparql_generate.iterator.SPARQLExtIteratorFunction
All Implemented Interfaces:
IteratorFunction

public class SPARQLExtIteratorFunction extends IteratorStreamFunctionBase
Iterator function iter:call-select takes as input a IRI to a SPARQL-Select document, runs it on the current Dataset, and binds the given variables to the output of the select query, in order.
  • Param 1: (select) is the IRI to a SPARQL-Select document
Multiple variables may be bound: variable n is bound to the value of the nth project variable of the select query.
Author:
Maxime Lefrançois
  • Constructor Details

    • SPARQLExtIteratorFunction

      public SPARQLExtIteratorFunction(SPARQLExtQuery select, org.apache.jena.sparql.util.Context context)
  • Method Details

    • exec

      public void exec(List<org.apache.jena.sparql.expr.NodeValue> parameters, Consumer<List<List<org.apache.jena.sparql.expr.NodeValue>>> collectionListNodeValue)
      Description copied from class: IteratorStreamFunctionBase
      IteratorFunction call to a list of evaluated argument values.
      Specified by:
      exec in class IteratorStreamFunctionBase
      Parameters:
      parameters - -
      collectionListNodeValue - - where to emit collections of nodevalues
    • checkBuild

      public void checkBuild(org.apache.jena.sparql.expr.ExprList args)
      Description copied from class: IteratorStreamFunctionBase
      Partially checks if the iterator function can be executed with the given arguments.
      Specified by:
      checkBuild in class IteratorStreamFunctionBase
      Parameters:
      args - -