Skip to content

SPARQL for RDF files

sparqld logo: a linked-data graph inside a folder

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.

CI crates.io License

  • Files stay authoritative


    Use Markdown-LD, YAML-LD, JSON-LD, and the rest of your repository as the source of truth.

  • Queries stay current


    sparqld watches 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

Starting with Agents

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.

Starting in CLI Reference

No database service, import script, or synchronization layer is required.