SPARQL expressions are now evaluated using the RDF.js data model. This modification allows for a more clean workflow when writing SPARQL expressions, functions and aggregations. So, in details:
The rdf-terms subpackage has been deleted. We now rely on the RDF.js data model to represent RDF Terms.
A new rdf subpackage is exposed at the top level-API. It contains convenience functions to create and manipulate RDF terms in the RDF.js model. Most of them were adapted from the old rdf-terms subpackage.
Custom functions can now return arrays or iterators of RDF Terms. The SPARQL BIND operation will automatically turn these iterable into a flow of bindings.
New, non-standard SPARQL expressions and aggregations have been added to the sparql-engine. They includes hyperbolic functions, accuracy metrics like mean square error. They will be documented in a later release., as they are not quite ready for production.
SPARQL expressions are now evaluated using the RDF.js data model. This modification allows for a more clean workflow when writing SPARQL expressions, functions and aggregations. So, in details:
rdf-terms
subpackage has been deleted. We now rely on the RDF.js data model to represent RDF Terms.rdf
subpackage is exposed at the top level-API. It contains convenience functions to create and manipulate RDF terms in the RDF.js model. Most of them were adapted from the oldrdf-terms
subpackage.BIND
operation will automatically turn these iterable into a flow of bindings.sparql-engine
. They includes hyperbolic functions, accuracy metrics like mean square error. They will be documented in a later release., as they are not quite ready for production.