SPARQL.ex v0.2.6 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

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:

Callback implementation for SPARQL.ExtensionFunction.call/4.