SPARQLAlgebra.js
SPARQLAlgebra.js copied to clipboard
Clarify AST connection
I think it should be documented how this package relates to SPARQL.js and whether it emits an AST (as it is a very common term for what I think algebra stands for in this context).
SPARQL.js just gets used to convert SPARQL queries to javascript objects so they can be handled in the code.
The output is a JSON representation of the algebra described here https://www.w3.org/TR/sparql11-query/#sparqlDefinition , not sure if that counts as an AST or not
According to this resource: https://www.slideshare.net/mobile/olafhartig/the-semantics-of-sparql SPARQL algebra differs from AST which as you written is the output of SPARQL.js