/rete-graph:rete-catalogfrom rete — cloud-native RDF graphs
Discovers, inspects, and opens 60+ public knowledge graphs from the rete catalog. Use when a task needs an existing dataset rather than building a new one.
Ships in rete — cloud-native RDF graphs. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Every published dataset is a single .rete file on range-readable hosting.
The canonical URL scheme is:
https://data.graphplaza.com/<key>/<key>.rete
Three equivalent sources, freshest first:
# Live catalog API (keys, descriptions, sizes, licenses, URLs, examples):
curl -s https://katospiegel-rete.hf.space/api/datasets | jq '.[].key'
# In this repo: the exported catalog (regenerate: scripts/export_catalog.py)
jq '.datasets[] | {key, size, license}' clients/server/rete_server/catalog.json
# Source of truth for the playground: web/playground-src/catalog.js
Expected hashes and sizes for every published file live in
web/datasets.lock.json; scripts/check_dataset_catalog.py --all probes
the real URLs against it.
Never guess vocabulary. A .rete carries its own card, schema profile, and
runnable example queries, and reading them costs a few range requests:
curl -s https://katospiegel-rete.hf.space/api/datasets/boe/card # what it is
curl -s https://katospiegel-rete.hf.space/api/datasets/boe/schema # classes + relations (exact IRIs)
curl -s https://katospiegel-rete.hf.space/api/datasets/boe/examples # queries that run as-is
# CLI equivalents: rete card-url <url> · rete schema-url <url>
Copy IRIs verbatim from the schema; start from an example query and edit.
Same file, every runtime — always lazy (only touched byte ranges are read):
import rete_graph as rete # pip install rete-graph
g = rete.open("https://data.graphplaza.com/boe/boe-2026-07-07.rete")
import { open } from "rete-graph"; // npm install rete-graph
const g = await open("https://data.graphplaza.com/boe/boe-2026-07-07.rete");
g <- rete_open("https://data.graphplaza.com/boe/boe-2026-07-07.rete") # R package `rete`
rete sparql-url https://data.graphplaza.com/boe/boe-2026-07-07.rete "SELECT … LIMIT 5"
No client at all? Each dataset is a standard SPARQL 1.1 endpoint
(https://katospiegel-rete.hf.space/sparql/<key> — or /sparql/<any-full- .rete-URL> for unregistered files), so SPARQLWrapper/rdflib/YASGUI/Jena
and SERVICE <…> clauses work unmodified. The browser playground opens any
of them by key with zero install.
After a first query, sanity-check laziness: g.stats() should show a small
fraction of fileLength fetched.
For repeated heavy analysis, one GET beats many ranges:
curl -sO https://data.graphplaza.com/boe/boe-2026-07-07.rete
rete verify boe.rete && rete card boe.rete # integrity + provenance
Local opens are lazy too (positional reads) — a big file costs no RAM.
rete federate (CLI) or the
playground's CROSS-SOURCE JOIN; datasets that share IRIs/PIDs join free
(e.g. bne × databnf on VIAF, the scholar hub on DOI).SERVICE against the endpoint —
see docs/interop.md for when to federate vs when to dump-and-load.shards list in the catalog) are queried per shard by
URL, or UNION-fanned by the playground.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub caviri/rete --plugin rete-graph7 skills in this plugin
/dataset-downloadAcquire and organize a NEW raw dataset under ./data/<name>/ before it becomes a .rete — investigate a source (download page, API, S3/Tigris bucket) to find ALL of its data, scaffold the standard folder layout (raw/ + scripts/ + README + checksums), download robustly (reproducible + resumable + parallel), follow manifest→asset links (nested-JSON URLs, .cif/.png/etc.), and document the schema. Use whenever the task is "download this dataset", "grab all the data from <site>", or "get <source> into ./data" — the step that feeds the rete-from-graph skill./rete-clientsSet up a rete client in a NEW project — Python, Pyodide/JupyterLite, JavaScript/Node, browser script-tag, your own wasm build, or Rust. Use when wiring .rete querying into an application, notebook, or script; covers install, a verified first query, and the per-runtime gotchas./rete-from-graphBuild a queryable `.rete` file from ANY graph-based data source — an RDF dump (.nt/.nq/.ttl/.rdf/.owl), a SPARQL endpoint, a Wikibase, an OWL ontology, GeoJSON, tabular/CSV, a GBIF Darwin-Core archive, a TEI corpus, or a JSON API. Use whenever the task is "turn this dataset/graph/ontology/endpoint into a .rete" (then hand off to the rete-publish skill to register it in the playground). Covers source→N-Triples conversion, the `rete build` flags, the Docker-only build, and verification./rete-local-queryQuery a LOCAL .rete file efficiently — the lazy range-read path that opens a multi-GB file without loading it whole, which CLI commands are lazy vs read-whole, the tuning knobs (RETE_BLOCK_KB, RETE_LOCAL_LAZY_ABOVE_MB, the 256 MiB block-cache cap), how to preview a query's byte/RAM cost (rete cost / rete why), how to prove a memory bound, and the real memory-scaling limits at billion-triple scale. Use whenever a local query is slow, OOMs, or you need to bound/preview its I/O and RAM. Complements rete-sparql (which is about writing the query)./rete-publishPublish a built `.rete` dataset to the rete playground: generate optional Parquet/DuckDB/SQLite companions, upload files to Cloudflare R2, register the dataset in the catalog, and verify the public Range/CORS contract. Use after rete-from-graph has produced and verified a `.rete` whenever the task is to make a dataset explorable in the playground./rete-sparqlWrite correct SPARQL for .rete graphs — the supported SPARQL 1.1 surface, rete's extensions (OWL 2 QL reasoning, RDF-star, SERVICE federation, text index), result formats, and the recurring gotchas that silently return 0 rows. Use whenever authoring or debugging a SPARQL query against a .rete file, the playground, the Space API, or any client.Other plugins' skills for the same job