Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 of 6 tasks
lecoqlibre opened this issue Feb 11, 2024 · 1 comment
Open
1 of 6 tasks

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

lecoqlibre opened this issue Feb 11, 2024 · 1 comment

Comments

@lecoqlibre
Copy link
Collaborator

lecoqlibre commented Feb 11, 2024

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.

  • We need to think about how to pass indexes to the QP. Could we have one description resource about all the indexes?
  • We need a way to allow the QP logic extendable, so new index type could be supported (perhaps using DP strategy, visitor, chain of responsibility).
  • Write the SPARQL query for TypeIndex.
  • Write the SPARQL query for Implement indexes discovery for skills and cities #30.
  • Create a new repository for the QP ("solid-search"?).
  • Publish the QP library on NPM.
@lecoqlibre lecoqlibre changed the title Write a Query Planner Write a Query Planner library Feb 11, 2024
@lecoqlibre lecoqlibre changed the title Write a Query Planner library Write a Query Planner library, focusing on BGP processing Feb 14, 2024
@pchampin
Copy link
Collaborator

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 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants