jeff-zucker / solid-ui-components

generate high level HTML widgets from RDF data
MIT License
10 stars 3 forks source link

How to handle SPARQL #4

Closed jeff-zucker closed 2 years ago

jeff-zucker commented 2 years ago

Currently, if the user imports mashlib but not comunica in script tags, the library will use rdflib's SPARQL engine. If both are imported, it will use comunica's remote query engine.

Some facts to consider and unknowns to track down :

Possible future strategies :

jeff-zucker commented 2 years ago

And I should check this out : https://github.com/RubenVerborgh/SPARQL.js

timea-solid commented 2 years ago

Maybe there should be a way to let the end-user configure which SPARQL engine they want to use. (since there is no perfect solution)

jeff-zucker commented 2 years ago

The user can already decide by which library(ies) they import in their script. But what we'd need is something like ui:directSparql to let users specify particular sources as accessible by one engine or another.

jeff-zucker commented 2 years ago

Comunica now supports authenticated Solid fetches.