Re: SPARQL JS lib, from textual syntax to algebra

Hi Ruben,


> > My idea would be to leverage Ruben SPARQL parser and then transform his
> JSON representation of the Abstract Syntax Tree to a representation of the
> corresponding algebra tree (possibly in JSON too).
>
> The main thing that needs to be decided is on how to represent such an
> abstract syntax tree in JSON.
>
>
Do you mean in the sense of having a standard for this representation?
I guess the representation you used as output for the parser could be a
good candidate.

Another good option, in my opinion, could be a JSON-LD representation based
on SPIN SPARQL syntax (http://spinrdf.org/sp.html).

Best,
Miguel

Received on Thursday, 5 November 2015 13:31:31 UTC