Wimmics / solid-start

Projet SOLID Inria - Startin'blox
MIT License
1 stars 0 forks source link

Write a Query Planner library, focusing on BGP processing #35

Open lecoqlibre opened 4 months ago

lecoqlibre commented 4 months ago

This Query Planner (QP) library will be used to rewrite SPARQL queries with indexes being taken into account.

This way, developers could write their SPARQL queries into their application without having to know about indexing.

The QP will know what indexes could be used, find the most appropriate ones and rewrite the query accordingly before to pass it to the query engine for execution.

There also should be a possibility for the developer to let his query been executed without rewriting. This way, developers would have only one interface to comply with to execute query (there is no need to use a separated query engine).

The query engine should be abstracted so different approaches could be used. We should support Comunica. Waiting for Comunica to support queries using named graphs, we should provide a workaround.

pchampin commented 4 months ago

We discussed this during the call yesterday. A conclusion was that rewriting arbitrary SPARQL queries is too hard a problem to address directly, but we will investigate the rewriting of BGPs .