Re: SPARQL.js: a SPARQL 1.1 parser for JavaScript

Hi Jonas,

> You mention "full SPARQL 1.1 support" in your blog entry - does that 
> mean full coverage of "SPARQL 1.1 Query language" or _all_ SPARQL specs?

It means the grammar as specified in the SPARQL 1.1 query language document,
and this grammar includes:
- http://www.w3.org/TR/sparql11-update/
- http://www.w3.org/TR/sparql11-federated-query/

So yes, it can parse INSERT and SERVICE queries too :-)

> Put differently - how does it compare to these?: 
> http://www.w3.org/2009/sparql/implementations/

It should pass all parser tests.

I would gladly use the SPARQL syntax test suite (as I did for Turtle [1]),
but unlike Turtle, the SPARQL test suite doesn't seem to give the correct solution.
So all I can do is a simple accept/reject test, which doesn't seem that interesting.
(Unless somebody has a better idea?)

Best,

Ruben

[1] https://github.com/RubenVerborgh/N3.js/tree/master/spec

Received on Friday, 22 August 2014 16:26:35 UTC