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

POC: Support SPARQL querying through front-end #4535

Open
svandenhoek opened this issue Dec 2, 2024 · 0 comments
Open

POC: Support SPARQL querying through front-end #4535

svandenhoek opened this issue Dec 2, 2024 · 0 comments
Labels
api:rdf enhancement New feature or request

Comments

@svandenhoek
Copy link
Contributor

Issue

While we offer RDF output, there is no way to currently use that output in Molgenis EMX2 itself. It would be nice to allow for running SPARQL queries without needing external apps. Even better would be if we could allow for including external sources as well.

Solution

Make a proof-of-concept webpage (similar to Graphql API?) that uses https://comunica.dev/ as a base to run queries. Use RDF API as sources.

Things to consider:

Alternatives

Implementing a functioning SPARQL endpoint such as Virtuoso.

  • These usually require a (specific) triplestore to store the data in, which would create additional complexity (duplicate data + keeping things in-sync).

Additional context

EMX2 generates RDF files based on the given API request (full table, specific rows, etc). A SPARQL querying that harmonizes with such an approach (by directly allowing RDF files as input to query on) is a better fit than needing to load the data into large triplestore-based tools.

@svandenhoek svandenhoek added enhancement New feature or request api:rdf labels Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api:rdf enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant