Query with experimental SPARQL features
On this page
Comunica SPARQL Next offers non-standardized SPARQL features within Comunica.
1. Installation
Since Comunica runs on Node.js, make sure you have Node.js installed on your machine.
Next, we can install Comunica SPARQL Next on our machine:
$ npm install -g @comunica/query-sparql-next
Features
This "next" version supports the same features as @comunica/query-sparql
(see the other documentation pages on this website), adding additional language features ontop of it.
This means we support SPARQL 1.2
and additional language features listed bellow.
Learn more
This guide only discusses the basic functionality of comunica-sparql-next.
You can learn more options by invoking the help command, or by reading the Comunica SPARQL documentation:
$ comunica-sparql-next --help
The API for querying using non-standardized SPARQL in JavaScript apps is identical to Comunica SPARQL,
and just requires importing @comunica/query-sparql-next instead of @comunica/query-sparql.
In order to set up a SPARQL endpoint, comunica-sparql-next-http can be used, just like Comunica SPARQL.
Contribution
The "next" version is maintained in its own feature repository: comunica-feature-next.