The whole public graph of A(DAI) — practitioners, works, concepts, institutions, the relations between them and the contributions behind them — as one file you can keep, open and build on. A sandbox: break things freely, the live commons is not touched.
It is a plain SQLite file: no server, no extension.
sqlite3 adai-latest.sqlite sqlite> .tables contributors edges meta node_aliases nodes signals sqlite> SELECT value FROM meta WHERE key = 'readme';
Nodes are things; edges are relations between them. Edges are bi-temporal: the current graph is the edges WHERE valid_until IS NULL — ended relations stay in the file as history.
import sqlite3, json
db = sqlite3.connect("adai-latest.sqlite")
works = db.execute("""
SELECT w.name, json_extract(w.metadata, '$.cdn_image_url')
FROM edges e
JOIN nodes w ON w.id = e.source_id
JOIN nodes p ON p.id = e.target_id
WHERE e.edge_type = 'CREATED_BY'
AND e.valid_until IS NULL
AND p.slug = ?
ORDER BY w.name""", ("vera-molnar",)).fetchall()
for name, image in works:
print(name, image or "")
nodes, edges, signals (the contributions), contributors, node_aliases, plus meta (when, from where, licence).metadata.cdn_image_url points at the public image mirror (https://pub-ebd869876a824a5e83dbb2fe42d03211.r2.dev); image_url keeps the upstream source.The snapshot is a copy; a fork stays in step. The commons is stored as a CRDT (cr-sqlite), and its change stream is public: pull it into a database of your own, run the site on it, and pull again whenever you like — you get only what changed since.
git clone https://github.com/a-digital-arts-institute/adai-v1 && cd adai-v1 npm install npm run fork:pull -- --from https://digitalartsinstitute.io --db ./fork.db
DB_PATH=./fork.db npm run dev # http://localhost:8080
GET /api/sync/info — the source's site id, its current db_version, the hash of its CRR schema and the tables in the stream.GET /api/sync/changes?since=<cursor>&limit=<n> — the changes after a cursor (0 = everything), as cr-sqlite's own crsql_changes rows [table, pk, cid, val, col_version, db_version, site_id, cl, seq]; pk is base64, site_id hex, values keep their SQLite type. Pass the page's next as the next since until more is false. Pages end on whole transactions (one bigger than the limit is split in order). gzip, no key, rate-limited.nodes, edges, signals, contributors, node_aliases. What the commons does not publish is never in them: words given as structural only, revoked or still in review, anonymous contributors' names, the values an edit replaced, email addresses, tokens, the review queue.npm run embed:backfill with your own key (GEMINI_API_KEY, or an OpenAI-compatible endpoint — see Embeddings), then npm run embed:derive, for the similarity layer.The software is licensed Apache-2.0 (LICENSE). The knowledge graph — the snapshot and the change stream alike — is licensed CC BY-SA 4.0 (attribution, share-alike) — the full statement is in the snapshot's meta table and in LICENSE-DATA. Mirrored artwork images are not covered: copyright stays with the artists and holding institutions; a fork links to them, it does not license them.
Changes you make to your copy stay on your machine. To add to the commons — a work, a relation, your own account — use the live site: contribute.