local-sparql

Deploy local SPARQL endpoints for querying RDF corpora.

1|Updated Apr 30, 2026
One-click install
npx skills add https://github.com/danbri/forgetmenot --skill local-sparql
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: local-sparql
Source: https://github.com/danbri/forgetmenot/tree/main/skills/local-sparql
Command: npx skills add https://github.com/danbri/forgetmenot --skill local-sparql

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires rdflib-endpoint, apache-jena-fuseki, oxigraph, docker, and includes scripts (resource) components.

What problem does it solve?

This Skill removes the barrier to entry for querying complex RDF datasets by providing a standardized, local environment to run SPARQL queries against N-Quads, Turtle, and other RDF formats without needing a remote server.

Core Features & Use Cases

  • Multi-Backend Support: Choose between rdflib-endpoint for quick Python-based queries, Apache Jena Fuseki for a full web UI, or Oxigraph for persistent, high-performance storage.
  • Transparent Decompression: Automatically handles gzipped RDF files, allowing you to query compressed datasets directly.
  • Use Case: Researchers can join multiple local RDF corpora, such as election results and identity graphs, to perform complex cross-dataset analysis on their own machine.

Quick Start

Use the local-sparql skill to serve the psephology dataset using the rdflib backend by running the provided script with the path to the compressed N-Quads file.

Frequently Asked Questions about local-sparql

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I query local RDF files with SPARQL without a remote server?

You can query local RDF files by deploying a local SPARQL endpoint using this Skill, which serves N-Quads and Turtle formats directly on your machine without requiring a remote server.

Can I query gzipped N-Quads files directly without decompressing them first?

Yes, querying gzipped N-Quads files directly is supported through transparent decompression, allowing you to load and query compressed RDF datasets automatically without manual extraction.

What is the best way to join multiple local RDF datasets for cross-dataset analysis?

The best way to join multiple local RDF datasets is by loading them into a local SPARQL endpoint, enabling complex graph joins across corpora like election results and identity graphs on your own machine.

Does this SPARQL endpoint support Apache Jena Fuseki and Oxigraph backends?

Yes, it supports multi-backend deployment including Apache Jena Fuseki for a full web UI, Oxigraph for persistent high-performance storage, and rdflib-endpoint for quick Python-based queries.

Do I need Docker to run local SPARQL queries against Turtle files?

Docker is a listed dependency for managing the backend lifecycles and data ingestion, so you will need it to execute the shell scripts that run the local SPARQL endpoints for your Turtle files.

Why use rdflib-endpoint instead of Apache Jena Fuseki for ad-hoc data exploration?

Use rdflib-endpoint for quick Python-based ad-hoc data exploration, whereas Apache Jena Fuseki is better suited when you need a full web UI for querying your local RDF corpora.