Ars Magica, as an OntoRAG GitHub-as-storage dataset.
A reusable repository that a retrieval service reads to answer questions, grounded in an ontology (knowledge graph), content (chunked, entity-linked text), and embeddings — all derived from the Ars Magica Open License corpus. The git repository is the database.
A consumer reads manifest.json and follows the paths it declares.
Everything is plain text / NDJSON / Turtle — diffable and host-agnostic.
ontology/world.ttl — RDF knowledge graphontology/entities.jsonl — flat entity indexcontent/chunks/*.jsonl — text, one file per book, entity-linkedembeddings/vectors/*.jsonl — vectors, joined by idcontent/books.json — the pack registry (orp:requires)Entities (Characters, Spells, Houses, Tribunals, Covenants, Creatures, concepts…)
were LLM-extracted from the prose and aligned to a TTRPG schema. Each entity records
where it comes from: attestedIn (books whose prose mentions it)
and definedIn (books it was extracted from) — the footprint and the
origin of every fact.
Each sourcebook is a semantic pack. Packs form a
orp:requires dependency graph (every supplement requires the core rules).
Selecting the packs a reader holds gives their access scope; closing a
selection over its dependencies gives a coherent composed world for building
and evaluation (rules).
python3 tools/compose.py --packs covenants # composition: orp:requires pulls in the core rules python3 tools/compose.py --packs covenants --no-closure # access scope: only that book python3 tools/compose.py --validate # integrity + soundness of the dataset
Point the generic OntoRAG MCP server at this repo — it reads the dataset over GitHub and serves graph-aware retrieval (vector / ontology / hybrid):
ONTORAG_DEFAULT_REPO=openfantasymap/amol-ontorag \ ONTORAG_RETRIEVAL=ontology docker compose up server
Content © 1993–2024 Trident, Inc. d/b/a Atlas Games, released under CC-BY-SA-4.0 (the Ars Magica Open License). Derived chunks and embeddings inherit CC-BY-SA-4.0. Unofficial fan/derivative work.