A query language transpiler framework for JavaScript
There is also support for 'non-algebra' entities such as ASK, FROM, etc. to make sure the output contains all relevant information from the query.
Input for the toAlgebra
function should be a Traqula AST, by calling Traqula parser.
More documentation can be found in the algebra transformer for SPARQL 1.1.
This transformer build on that one but also allows triple terms introduced in SPARQL 1.2 spec.
Using toAst
you can convert the Algebra back to a Traqula AST.