SPARQL for RDF files

sparqld turns a directory of RDF files into a live, read-only SPARQL
endpoint. Keep your data in version control and query its current state without
importing it into a database.
-
Files stay authoritative
Use Markdown-LD, YAML-LD, JSON-LD, and the rest of your repository as the source of truth.
-
Queries stay current
sparqldwatches the directory and makes each successful edit available atomically. -
Safe for people and agents
The endpoint is permanently read-only: queries explore the knowledge base without changing its files.
Get started
Agents
Install the sparqld skill for your coding agent:
npx skills add iolanta-tech/sparqld --skill sparqld -g
Then ask:
/sparqld set up a queryable knowledge base at my documents folder
or
Local endpoint
Command
cargo install sparqld
Command
sparqld --directory /path/to/your/knowledge-base http
Replace the example path with the directory you want to serve. The endpoint is
available at http://127.0.0.1:7737/; query it from your shell or application,
and edit the files to change the data.
No database service, import script, or synchronization layer is required.