SPARQL.ex v0.3.0 SPARQL.Functions.Cast.Boolean View Source
An SPARQL.ExtensionFunction
for the xsd:boolean
XPath constructor function.
See:
Link to this section Summary
Functions
Calls the extension function.
Link to this section Functions
call(_, arg2, _, _) View Source
Calls the extension function.
The distinct
argument is a boolean flag which signifies if the DISTINCT
modifier was used in the function call, which is syntactically allowed in
custom aggregate function calls only.
The arguments
argument is the list of already evaluated RDF terms with which
the extension function was called in the SPARQL query.
The data
argument contains the currently evaluated solution and some other
internal information and shouldn't be relied upon, because it might be subject
to changes and contain different elements depending on the context the function
was called in. Since the arguments are already evaluated against the current
solution it shouldn't be necessary anyway.
The execution
argument is a map with some global execution context
information. In particular:
base
: the base IRItime
: the query execution timebnode_generator
: the name of theRDF.BlankNode.Generator
(see RDF.ex documentation) used to generate unique blank nodes consistently
Callback implementation for SPARQL.ExtensionFunction.call/4
.