Closed
Description
After some internal discussions with @gsvarovsky and @jacoscaz, we identified the need to come up with a base query engine interface for RDF/JS (for declarative queries).
In essence, it should expose an interface that allows you to do operations
such as const resultStream = await engine.query('some query');
The goal of this issue is to collect input on what already exists, so we can identify what the requirements are for such an interface.
Projects I contribute to that would benefit from this interface:
- The Comunica query engine. Relevant types are defined here: https://github.com/comunica/comunica/blob/master/packages/types/index.ts
- rdf-test-suite.js, which can execute specification tests on query engines. Relevant interface is here: https://github.com/rubensworks/rdf-test-suite.js/blob/master/lib/testcase/sparql/IQueryEngine.ts
- SPARQLAlgebra.js, which defines typings for SPARQL algebra
- fetch-sparql-endpoint.js, exposes access to a SPARQL endpoint
Big open question for me is how close the relationship to SPARQL should be. (We could for example start off with defining it in terms of SPARQL, but leave room for other query languages)
Metadata
Metadata
Assignees
Labels
No labels