Closed james-martin-jd closed 3 years ago
The LDflex core library (this repo) has support for this: it mandates no concrete query engine or configuration. So that's good.
LDflex for Solid uses the Comunica engine, which is currently wired up to dereference over HTTP. Comunica itself supports in-memory querying, so we just need to expose that through LDflex-Comunica. I will move this issue over there.
This functionality is now enabled by using @comunica/actor-init-sparql-file
as a custom engine. This feature was added in #37 .
When making Solid apps, it would be nice to have a way to read local .ttl files to query for things like i18n, error messages, and project settings. I don't believe that currently local file reading is supporting but this would be an excellent enhancement.