Skip to content

About

Ideas you can build with RelateDB — a curated idea vault where the markdown files are a Relate graph database

Resources

Stars

16 stars

Watchers

0 watching

Forks

Repository files navigation

type Vault
name README

RelateDB Ideas

A curated collection of things you can build with RelateDB — the embedded, in-memory property graph engine that speaks Cypher, ships as a single binary, runs in the browser (WASM), on phones and edge devices, persists to a WAL + Parquet checkpoint, and serves Bolt / HTTP / MCP / stdio from one process.

You don't need a server. You don't need a cluster. You need a graph.

Every idea below fits RelateDB's shape: embedded (link it, ship it, :memory: it), portable (one file or one folder moves the whole graph), interactive (Cypher at CLI, HTTP, Bolt, MCP — from a laptop, a phone, a browser tab, an agent sandbox), and fast (in-memory scans, no round trips).

Have you built something? PRs welcome — pick the closest category, or open a new one.


This Repo Is a Graph Database

The vault rendered as a graph — 384 nodes and 1,876 relationships across Project, Research, Technology, Company, Person and Category

Every node is a file in this repo. Click for the full-resolution SVG (PNG); regenerate it by running ideas-graph.ipynb.

The markdown files in this repository are a Relate store — RelateDB, source at github.com/relatedb/relate. Install the single binary, then open the repo root as a markdown-vault database:

curl -sSfL https://relatedb.ai/install.sh | bash
relate --snapshot-format markdown --markdown-body-properties text --database .

The first open records both settings in .cypherlite/manifest.json (gitignored — re-derivable), so later opens need neither flag. From then on you query and edit the vault in Cypher, and changes checkpoint back into the markdown files.

Codec rules (markdown-vault snapshot format, ADR-0406 / ADR-0460):

  • Label = top-level folder. Project/, Research/, Technology/, Company/, Person/, Category/ are the node labels. Root-level .md files (this README, PLAN.md) get the reserved :Vault label.

  • Key = filename. Project/arrows-on-relate.md is the node (:Project {name: 'arrows-on-relate'}).

  • Frontmatter = properties. type: is the primary label; every other key is a node property.

  • Body = the text property. The --markdown-body-properties text flag makes the note body the node's text property.

  • Relationships = wikilink lists. One frontmatter key per relationship type:

    USES_TECH:
      - "[[Technology/Arrow]]"
      - "[[Technology/Parquet]]"

    Relationships that carry data use the map form — target plus properties:

    RELATED_IDEA:
      - kind: complements
        reason: the human-app form factor over the same on-device store
        target: "[[Project/phone-app-shell]]"

Hand-edits to the files re-ingest at the next open; Cypher writes re-render the files at checkpoint. Deleting a node deletes its file and the wikilinks pointing at it (prose mentions stay). Labels and keys compare case-insensitively — a case-only rename is a no-op that corrupts, so rename folders, not labels.

The schema is versioned in vault-schema.cypher; enrichment history and entity counts are in PLAN.md. The vault keeps entities that are linked at least twice; the full unpruned entity set (436 Technology, 218 Company, 79 Person files) lives in this repo's first commit — git checkout $(git rev-list --max-parents=0 HEAD) -- Technology/ Company/ Person/ restores any of it.

What's in the graph

The whole vault in one query — the technologies that show up across the most ideas:

MATCH (p:Project)-[:USES_TECH]->(t:Technology)
RETURN t.name AS technology, count(DISTINCT p) AS ideas
ORDER BY ideas DESC, technology LIMIT 8
technology ideas
RelateDB 177
Cypher 167
WASM 101
MCP 37
Parquet 28
Neo4j 20
NetworkX 20
Python 20

Swap the pattern for any other slice — (p:Project)-[:IN_CATEGORY]->(c:Category) counts ideas per category (Tooling & Developer UX 24, Reference & Research Data 19, Infrastructure & Operations 18, …), (p)-[:MENTIONS_ORG]->(o:Company) finds the most-cited vendors, and (p)-[:RELATED_IDEA {kind: 'complements'}]->(q) walks the idea graph itself.


Contents

  1. Learn & Teach — network science, tech trees, direct-manipulation graphs
  2. Investigate & Expose — journalism, ownership rings, crypto flows, lobbying networks
  3. Your Digital Life as a Graph — social, home, routes, wearables
  4. Software & Code Intelligence — code graphs, architecture, design analytics
  5. Cybersecurity — attack paths, forensics, supply chains
  6. Agent Infrastructure — memory, DAG runtimes, traces, skills-as-graphs
  7. Science & Humanities — tree of life, proteins, citations, museums, WordNet
  8. Narratives & Fandom — books to graphs, character networks
  9. Wikis, Knowledge & Semantic Web — Wikipedia, RDF/JSON-LD, Obsidian-as-VFS
  10. Maps & the Physical World — OpenStreetMap, GIS, shipping, robots, VR
  11. Data Transformation & Import — CSV/Parquet/Kaggle/HF → graph, sitemaps, matrices
  12. Interop, Sync & Distribution — clone/fork/push, single-file graphs, other databases
  13. Visualization & Rendering — million-node browsers, Mermaid, GraphGists reborn
  14. Meta: Graphs about Graphs — plans, tiny neural nets, path indexes

Learn & Teach

(one file per idea: Project/)

  • Network Science, Interactive — Barabási's course and textbook as a live sandbox: generate BA/WS/ER graphs, watch degree distributions emerge, overlay centrality heat — every exercise runs as Cypher in the browser, no install.
  • Graph School — a browser-based playground where students load canonical graphs (Karate Club, Les Misérables, C. Elegans) and write their first Cypher against them.
  • Tech Trees — civilization/tech/research trees as explorable graphs; zoom from the whole game to one branch, query prerequisites ("which techs unlock X within 2 steps?").
  • History as Graph — timelines of dynasties, wars, treaties and successions as property graphs; query "who was related to whom at the outbreak of WWI?".
  • Direct-Manipulation Graph Editor — drag nodes, draw relationships, edit properties in-place; every gesture is a Cypher write under the hood. Undo = query log replay.
  • Node2Vec, Rebuilt — random walks as sentences, sentences as embeddings: walk paths through the graph, encode them with a language model into topological/structural vectors — the node2vec/path2vec pattern (and the GraphSAGE/GNN family) reproduced on an engine where the walks are plain Cypher.
  • SQL vs. Cypher, Live — the Gremlin "SQL vs. Gremlin" cheat-sheet tradition (the same comparison exists as the Neo4j Cypher vs. SQL docs page), rebuilt as a live browser page: DuckDB-WASM and RelateDB side by side, the same question answered in both languages, both engines running in the tab.
  • InstantCypher — plain-language questions compiled to deterministic, inspectable Cypher by a decision oracle choosing against the real schema as its option set — the pattern the SQL world built three times (IntentSQL, JevQL, pg-jev), in its confirmed empty lane: the graph one. The oracle is never a built-in: post-processing and judgment materialization first, host-registered callables eventually.
  • The Original Search-Index Experiment — recreate the founding PageRank/backlink experiment: crawl a web neighborhood (or load a web-graph dataset), build the link graph, compute ranking with plain Cypher iterations — and watch the orderings emerge, exactly as the 1998 experiment did, but interactively in your browser.
  • WordNet, But Queryable — the synset/hypernym graph loaded into RelateDB; "shortest path from dog to distrust" as a party trick and a linguistics tool.
  • Classroom Server on a $35 Board — a Raspberry Pi + relate serve gives a whole classroom a shared graph database each. Zero setup for the students.
  • Shell-Native Cypher — the Unix-filter form factor: .cl on stdin, filtered output on stdout, tail -f | relate, and a TUI REPL — every interaction an ad-hoc program, pipes included.
  • The Low-Resource Kit — the hand-me-down laptop and the locked-down library terminal as first-class targets: WASM engine + datasets inside tens of MB, an old-browser floor — the graph stack that runs where the hardware poverty is.

Investigate & Expose

(one file per idea: Project/)

  • ICIJ in a Browser Tab — Offshore/Panama-style ownership networks as a single shareable .cl file; investigators open the file, no database, no install. Datashare, embedded: ICIJ integrated Neo4j into their local Datashare investigation tool — RelateDB is the no-server local option for the same workflow, per-journalist, offline.
  • Policy-Impact Knowledge Graphs — the evidence graph behind a policy: housing rules, carbon regulations, grievance systems — with every impact edge carrying its mechanism, its studies, and the model version that judged it. "Who is modeled to be affected, through which channel, on what evidence" as a traversal; staleness and contested assumptions as review queries.
  • Company Ownership Rings — load a company register (CSV from any disclosure portal) and query control through layers of shell companies in one Cypher hop.
  • Crypto Flow Forensics — import a slice of Bitcoin/Ethereum transactions around a wallet; trace laundering paths, cluster mixing services, follow the money — offline, on the analyst's laptop.
  • Lobbying & Lawmaking Networks — bills ↔ lobbyists ↔ agencies ↔ votes; "who influenced this clause?" as a graph query over public data.
  • Conflict-of-Interest Finder — join two public registers (research funding + guideline authors) and run one query; the story is the intersection.
  • Sanctions & Supply-Chain Screening — keep an embargo/ownership graph locally, screen counterparties without sending sensitive names to any cloud.

Your Digital Life as a Graph

(one file per idea: Project/)

Data: OpenSanctions — the open embargo/sanctions/PEP corpus, with existing Neo4j import examples as the loader lineage.

  • Aleph in a Journalist's Pocket — OCCRP's Aleph — now open-sourced as OpenAleph — is the investigative platform: documents, entities, cross-search. The embedded play: its data layer beside a local RelateDB for the no-server investigator workflow.
  • Cy — Your Personal Knowledge Graph — the Amazon-Quick-style clone: pull your Google/MS Workspace, Slack/Teams, Confluence, email and calendar into one knowledge graph that serves you and your agents — knowledge work and white-collar tasks over your own data, queried in Cypher, surfaced to agents over MCP, private by default.
  • Your Follow Graph — a browser plugin exports your (and friends', opt-in) follower/following graphs; explore 1st/2nd-degree neighborhoods, find bridges between communities — all locally.
  • Home Network Atlas — every device, service, port and VLAN in your LAN as a graph; query blast radius ("what can reach the camera?") when something misbehaves.
  • Smart-Home State Graph — HomeAssistant/MQTT events into a temporal property graph; "who turned the lights on at 3am and what triggered it" is a path query.
  • Local Route Brain — transit networks (GTFS!) or GPX trail networks on your phone; offline routing + "rides like this" recommendations from your own history.
  • Running/Cycling/Hiking Graph — your tracked activities as a graph of segments and climbs; query personal records as shortest-times per edge.
  • Friendship Archipelago — merge address book, chats and calendar into one personal-graph file — the "personal CRM" with an actual query language.

Software & Code Intelligence

(one file per idea: Project/)

  • Code Graph — parse a repo (tree-sitter) into functions/calls/imports; ask "what breaks if I delete this function?" — reachability in Cypher, on your disk. Lineage: jQAssistant (the OG — a Neo4j-backed code graph from 2013), Sourcegraph, CodeGraphContext, Graphicle — which already has a RelateDB port.
  • Architecture Diagram That Never Lies — services, tables, topics and jobs from real configs (k8s manifests, terraform, docker-compose) into one graph; the diagram is a view, the graph is the truth.
  • Software Design X-Rays — Adam Tornhill's method on a WAL-backed temporal graph: churn (from git history) × complexity per file; hotspots are one query, the trend line is a time-window replay. CodeScene's behavioral analytics — summed per module — without the SaaS.
  • Code Cities — the city metaphor rendered from a live graph: buildings are files, districts are modules, height is complexity, decay is churn. Walk your own codebase as a city, in a browser tab.
  • Query-Plan Lab — collect EXPLAIN trees from every tool in your org into one graph; find the plan patterns that correlate with incidents.
  • Software Analytics Sandbox — GitHub Archive (GH Events) subsets as graphs; bus-factor, orphaned modules, coordination bottlenecks — reproducible, in one file.
  • Software's Graph Formats — the whole software stack already ships graphs: GraalVM's graph-shaped output format (loadable, parseable), Java heap snapshots, static class graphs, call graphs, dynamic traces in OpenTelemetry/OpenInference — one loader family, every layer of the machine queryable.
  • Architecture Graphs in Production — the case studies that proved the pattern: Amadeus, the Financial Times' field guide, Lending Club's fabric of devops, Lyft's Amundsen and Cartography, and the data-discovery generation at Airbnb et al — rebuilt embedded, per team, from their own infra.
  • Transitive Dependency Networks — the deps.dev shape: every package ecosystem's transitive graph as one store — licenses, maintainers, versions, vulnerabilities (the author's own deps.dev example from this week as the seed).
  • The Compiler's Sea of Nodes — modern compilers are graph optimizers: raw code becomes parse graphs become expression graphs, iteratively deconstructed, reconstructed, optimized, and validated (the GraalVM sea-of-nodes IR — Thomas Würthinger's thesis publications). Store IR snapshots per pass; query why an optimization applied here and not there; diff passes; the compiler's decisions as analyzable graph history.
  • Migration Planner — before a framework jump, query every usage of the old API across repos; the migration backlog writes itself as a Cypher result.

Cybersecurity

(one file per idea: Project/)

  • Attack-Path Simulator — MITRE ATT&CK techniques + your asset inventory; purple-team drills as graph queries, red-team findings as paths.
  • Cyber Range Replayer — turn network/netflow logs into a temporal graph and replay an incident like a movie; scrub the timeline with the mouse.
  • Dependency Radar — your lockfiles as a graph; CVE news arrives, one query tells you if you're exposed and through which path (SBOM ↔ CVE ↔ your code).
  • Configuration Misconvergence — every service's effective config (env, flags, k8s overlays) diffed as a graph; "which two services disagree about TLS?".

Agent Infrastructure

(one file per idea: Project/)

Graph-shaped storage is going on-device: Apple acquired Kuzu (the embedded graph database) to run graphs locally on its devices. The next question is what local agents should store in a graph — and the ideas below are the answers.

  • On-Device Agent Graph Store — the phone/watch/robot as the agent's graph home: personal facts, task state, device and sensor relationships, retrieved knowledge snapshots — the Apple/Kuzu-shaped niche for every other platform, in RelateDB.
  • Graph-Native Agent Memory — a memory that is only a graph: episodes, entities, facts as nodes with timestamps; temporal queries ("what did we agree on before X?") are one hop, not RAG guesswork.
  • LangGraph-Style DAG Store — persist agent workflow state and checkpoints in RelateDB; time-travel debugging = jump to checkpoint node and re-run.
  • Agent Trace Warehouse — spans, tool calls, prompts and costs as a temporal graph; "which retrieval step poisoned this answer?" is a path along the run.
  • The Judgment Ledger — every model call stored as an edge on the data it judged: provenance ("which facts rest only on sub-0.6-confidence calls?"), drift as a series, and decision-necessity receipts as queries — the corpus's consensus architecture (jevcache, Canny), finally joined and traversed.
  • Ephemeral Agent Sandboxes — :memory: RelateDB as the scratch DB inside each agent execution; zero-provision, zero-cleanup, queries at memory speed.
  • Skills as Graphs — ship an agent skill as a .cl file: instructions, examples and tools as nodes (the AIP paper's shape); the agent queries its own skill.
  • Agent Handoff Object — a session's context (conversation + extracted facts + retrieved artifacts) serialized as one graph file; resume anywhere, audit anytime.
  • Crew Org Chart — multi-agent teams as graphs of roles, tools and permissions; "who may call what with which budget" is a policy query, not a config file.
  • Keyhive's Share Menu — sharing as a capability: grants are nodes scoped to subgraph selections, checked with Cypher at the surface; the ACL rides inside the .cl file, and the same grants authorize the agents calling over MCP (the IndyKite Agent-Gateway problem, embedded).
  • Tools as Graphs — an MCP toolset as a graph: typed data-dependency edges plus call sequences mined from agent traces; tool selection, sequencing, parallel-call batching, and code-mode composition as queries.
  • The Graph-Walking Agent Cursor — next_hop(node, goal) as the MCP tool instead of run_query: the agent walks real edges, one typed choice at a time, context accumulating — hallucinated Cypher structurally impossible because the options came from the store.
  • In-Browser Knowledge Extraction — WASM RelateDB + web-llm: read a page, extract entities/relations locally, hand them to the graph — private, offline RAG.
  • Agent CLI Ergonomics — the binary as the agent's favorite tool: stable JSON shapes, exit codes as contracts, describe commands, and token-budgeted output modes — a CLI designed for the caller that pays per token.
  • Chat-Native Queries — the team's chat window as the query interface: a Slack/Discord/ Telegram bot over the shared .cl; slash commands run stored queries, results render in-channel, and the channel is the access log.

Science & Humanities

(one file per idea: Project/)

  • Tree of Life, Locally — a phylogeny (e.g. Open Tree of Life subsets) as a graph; MRCA queries, clade pruning, trait overlays — for field work without signal.
  • Connectome Explorer — small-animal connectomes (C. Elegans to fly) as graphs; circuit-tracing queries for students, neuro classes, and papers.
  • Protein Interaction Sandbox — STRING/BIOSISDB slices; "which pathways does drug X touch within 2 hops" at local speed.
  • The JupyterLite Kernel — RelateDB-WASM as a zero-install notebook kernel: Cypher cells in the browser, Arrow into Pyodide dataframes, NetworkX for the algorithm cells — the scientist's form factor, shareable as a URL.
  • The Khipu Decoder — Andean knotted cords, the 500-year-old graph storage medium, as property graphs: cords as edges, knots as typed payloads, the whole 600-artifact Open Khipu Repository corpus in one queryable tab — the accounting grammar as a query, narrative khipu as the open problem.
  • The Isnad Engine — hadith transmission science (ilm al-rijāl, twelve centuries of narrator-reliability analysis) as a graph engine: chains of transmitters, per-narrator ratings, contemporaneity violation checks, and trust propagation as queries over a scholarship tradition that predates PageRank by a millennium.
  • Harris Matrices, Properly — archaeological stratigraphy is a directed graph (the Harris matrix, 1973): the excavation itself as a queryable store — contexts, superposition, cuts, phasing as path queries, and the dig's honest controversies as cycle detection.
  • The Song Diffusion Network — culture in animals as a transmission graph: humpback whale song revolutions propagating population-to-population across the South Pacific, bird dialect boundaries — the missing-edge questions ("shared migratory corridor, never shared song") as queries.
  • Climate Teleconnection Graphs — the climate network science field (correlation graphs over reanalysis grids: ENSO reach, monsoon couplings, blocking) with the query layer it never had: lag-labeled traversal, phase-scoped rewiring, regional cuts at laptop scale.
  • Scripture Cross-Reference Navigation — the Bible's 200k+ typed cross-reference edges (free CC-BY corpora) as a portable navigation artifact: a hill-climb where the graph lists the options and an oracle only scores them — allusion chains, bidirectional parallels, and study walks with recorded provenance as queries.
  • Citation Network of a Lifetime — your Zotero/BibTeX library as a citation graph; "papers that cite everyone I cite, but that I don't" is one query.
  • arXiv Wedge — pull a topic's arXiv metadata, build the co-citation graph, watch a field fragment into communities — reproducible, shareable as a file.
  • The Codex, Reborn — an Atlas of History: events, locations, and people extracted from annotated historical sources (Iian Neill's project — abandoned when Neo4j proved too heavy for it). The resurrection pitch writes itself: a single-file, zero-server graph is exactly what that project needed — the historiographical annotation layer as edges with source provenance on every relationship.
  • The HNR Humanities Pack — the Historical Network Research community's world in one format: correspondence networks, prosopographies, place-name graphs, kinship and trade networks — lightweight humanities graphs (their conference contributions are full of them) as .cl files with shared importers and query packs.
  • Museum as Graph — artworks ↔ artists ↔ patrons ↔ movements ↔ thefts (if you must); a museum's collection file becomes a guided-tour generator.
  • Music Genealogy — samples, covers, influences, band memberships; "is there a path from Bach to techno?" — yes, and the query proves it. Lineage: the MusicBrainz imports from Neo4j in Practice (Chris & Luanne's book) — the classic band/member/recording graph, now with WhoSampled/Discogs layering, embedded.
  • Sports Dynamics — passes as edges in a match graph (StatsBomb open data!); xT-style analyses with plain Cypher over event streams.
  • Labanotation Playback — dance scores as temporal graphs: Labanotation's movement columns as (:Movement) nodes scoped by body part and time-span, the repertoire's motifs and casting as queries, folk-dance preservation corpora as the pilot data — a company's whole repertoire as one .cl file.

Narratives & Fandom

(one file per idea: Project/)

  • A Song of Ice and Fire, Queried — the "Network of Thrones" reimagined: character interactions per chapter as a temporal graph; who really is the protagonist? (Answer: Tyrion, still — the Math Horizons paper proved it.) Lineage: Beveridge's Network of Thrones dataset, chapter-by-chapter edges.
  • Book NLP to Graph — local LLM extracts characters, mentions and sentiment into a graph; a literature class argues about the resulting structure.
  • Fandom Atlas — a fandom wiki (or all of them) into nodes and ships; fan theories tested by path queries ("has these two ever met on screen?").
  • Every Character Network Ever — a template exercise: any book, script, or show into the character graph; the Cornell INFO-2040 genre, productized as a notebook.

Wikis, Knowledge & Semantic Web

(one file per idea: Project/)

  • Wikipedia Wedge — any article's link neighborhood as a graph file; "what does the article on entropy connect to that information theory doesn't?" Lineage: Six Degrees of Wikipedia (sdow) — precomputed paths over ~6M pages.
  • The WikiGame, Powered by Real Data — load a Wikipedia (sub)graph and play shortest-path games (Six-Degrees-style) against the actual article network; path hints, difficulty scoring, and "no dead-end articles" as query constraints.
  • Wikidata Wedge for Research — pull a Wikidata topic slice (entities, claims, references) into a queryable graph; correlation-mining across fields, provenance checks on citations, all offline in one file.
  • Wikipedia in Your Pocket — offline (sub)graph keeps for mobile: download your article neighborhood before a flight, query it on the plane; the C ABI → mobile wrappers make the phone a first-class graph host.
  • RDF Ontology Metagraph — load an OWL/RDF ontology into RelateDB and query the ontology itself: classes, properties, domains, restrictions as first-class nodes (the system_ontologies shape, done on purpose).
  • JSON-LD Everywhere — a page (or a whole crawl's) structured data into the graph; Schema.org markup was already a graph — now it's a queryable one.
  • Obsidian/VFS Native — a VFS layer where markdown files are the storage: headings and links become nodes and relationships on open; your vault becomes a Cypher database without exporting anything.
  • Wiki-as-a-File — export a wiki (or its dump) to a single .cl file; a community ships its whole knowledge base as one attachment.

Maps & the Physical World

(one file per idea: Project/)

  • OpenStreetMap Wedge — OSM PBF extract → nodes/ways/relations; a city's walkable graph in one file, isochrones and shortest paths in milliseconds.
  • Graph Overlay on Leaflet/Mapbox — the graph holds truth; the map renders it; hover a street to see the Cypher behind it (and to edit it).
  • Shipping & Airline Networks — public schedules and AIS data as graphs; "how exposed is this route to this canal closing?" for ops classes and newsrooms. Heritage: the airline dataset in the neo4j-graph-examples — Kelvin Lawrence's air-routes graph, originally assembled for Gremlin and translated to Neo4j and GDS — is this idea's ready-made .cl import.
  • Buildings are Graphs (BIM) — Building Information Models in the open IFC format imported as graphs (walls, slabs, spaces, systems, crews, tasks) for topology analysis, clash and filter queries, and version-to-version model comparison. Heritage: Will Reynolds' topologicBIM work (Hoare Lea) — LDAC 2020 presentation, video; Ali Ismail's ifcwebserver and IFC-to-graph thesis; the Neo4j BIM thread.
  • Molecules as Graphs — chemical structures as the original graphs: atoms, bonds, reactions, and similarity as substructure queries (the cheminformatics world — RDKit's lineage — where "graph query" has meant substructure match for a century).
  • Power/Water Grid Twins — public grid topology as a graph; cascading-failure exercises for policy people, not just engineers.
  • Disaster Response Router — an OSM extract + road-closure edges on a phone; works without cell towers because the graph is local.
  • The Phone App Shell — a native app whose database is a .cl file: open with from Files/iCloud, share a subgraph out through the share sheet, a stored query as a lock-screen widget — the graph file as a first-class mobile citizen.
  • A Graph on a Microcontroller — the extreme end of embedded: the C ABI on an ESP32-class board, sensor neighborhoods and device inventories as tiny graphs, littlefs as the durable layer — with the honest memory math up front.
  • Robot Side-Brain — a small device's world model: rooms, objects, tasks, affordances as a graph; plans are path queries; the map is the database.
  • VR/XR Overlay — a graph of the game/space/room anchored to poses; "what's connected to the machine I'm looking at" — the HUD is a query result.

Data Transformation & Import

(one file per idea: Project/)

  • CSV → Graph, Instantly — drop a CSV, pick key columns, relationships materialize; the pull-style pipeline for any tabular source on the web.
  • Parquet → Graph — relational/analytical data (Parquet, Arrow) re-modeled as graphs: shared keys become edges; graph queries over columnar exports.
  • Kaggle/HuggingFace GraphLoader — one click from a dataset card to a .cl file; the dataset's social graph, citation graph, or co-occurrence graph, ready.
  • sitemap.xml → Site Graph — any website's sitemap into a URL graph; crawl structure, orphan pages, and topical clustering as queries.
  • User-Journey Recorder — a plugin records your own browsing as a temporal graph; "how did I end up reading this?" is literally a path.
  • Sparse Matrix, Meet Graph — matrices as bipartite graphs; the operations research people didn't know they wanted this.
  • The Emergent Interaction Graph — temporal knowledge graphs inferred from communication streams: email, Slack, meeting invites, phone proximity (the COVID contact-tracing shape), any sensor log — the graph nobody drew emerging from the interactions, with exposure chains, information flow, and communities-over-time as temporal queries.
  • A Million Tiny Graphs — RelateDB stores millions of small subgraphs cheaply; benchmark, partition, fan-out (map-reduce over subgraphs), cluster them.
  • Event Stream to Temporal Graph — append-only logs (logs, clicks, packets) into a WAL-backed graph; replay any window and query it as it was.
  • Cambria for Graphs — schema evolution as a stored lens graph: (:SchemaVersion) nodes with bidirectional lens edges, shortest-path routing between versions — old checkpoints never unreadable, and the migration history travels inside the file (the Liquibase / neo4j-migrations timeline upgraded to a graph; complements the cross-database lens with a lens across time).

Interop, Sync & Distribution

(detail: Project/interop-and-distribution.md)

  • Clone, Fork, Pull, Push — relate clone/pull/push against other RelateDB instances, Neo4j (Bolt), and anything speaking HTTP — the git-shaped graph workflow.
  • Single-File Graph Stories — one .cl file = data + schema + (soon) queries; email it, commit it, attach it to a ticket. Datasets as artifacts, not servers.
  • httpfs for .cl Files — a published .cl on any static host (GitHub Pages, S3, IPFS) queried in place over HTTP range requests: load the row groups you need, not the file — the sql.js-httpvfs move, for graph files.
  • NetworkX Runtime — nx.compose(relate_graph("file.cl")); your nx algorithms, a Cypher backend. (And GDS-style procedures the other direction.)
  • Graph Lens over Any Database — a read-mostly layer over SQLite/DuckDB/Postgres tables via the VFS; graph queries without a migration project.
  • Team Wiki from a Shared File — a group of friends editing a shared graph on a NAS or a git repo; conflicts merge because files are the unit.
  • GraphClips (Heroku Dataclips, Reborn) — save any query result as a shareable file — but each result is itself a graph: open the clip in another instance (or in the browser) and keep querying it. Results as first-class, queryable artifacts.
  • Cypher on Cypher — composability: run a query over another query's result — a projection/subgraph fork that can be stored, re-parameterized, and queried again; the dataflow-shell for Cypher (pipe, filter, re-shape).
  • Graph Clipboard — COPY a subgraph as a file, PASTE it into another instance; the smallest useful data-sharing protocol in existence.
  • Graph Database in a Lambda — fully serverless RelateDB: the Rust crate in a Lambda handler, WAL on ephemeral local storage, Parquet checkpoints + WAL tail in S3 (the Turso-embedded-replicas / litestream architecture); cold start pulls the checkpoint and replays — which is already RelateDB's recovery path.
  • Edge Workers Graphs — the WASM build inside Cloudflare Workers (R2/Durable Objects for storage): per-user graph APIs at edge latency with zero servers.
  • The PouchDB Move — offline-first RelateDB that syncs to a central store (RelateDB or Neo4j): local-first apps that keep working on the subway, merge on reconnect (Ink & Switch's ideology, the CouchDB/PouchDB architecture).
  • The Driver That Isn't — a Neo4j-driver-shaped client library backed by the embedded engine (GraphDatabase.driver("relate:...")): GraphRAG packages, GraphQL libraries, and every tool already written against the Neo4j driver run on an embedded, zero-server RelateDB by swapping one URL (the DuckDB-driver pattern; the pglite precedent of "the real protocol, embedded").
  • GraphQL, Straight from the Engine — the catalog is the GraphQL schema: labels → types, relationship types → fields, one GraphQL query compiling to one Cypher traversal, served in-process beside Bolt/HTTP/MCP — the 2016 neo4j-graphql direct mapping revived, before the successors made the schema a build step; N+1 dissolves because the resolver is the engine.
  • Read Replica in Your Pocket — pull a slice of the big Neo4j to your laptop, query it on the plane, push back the curation results.

Visualization & Rendering

(one file per idea: Project/)

  • The .cl File Viewer — double-click a graph file, browse and query it in a GUI: schema canvas, property browser, query box — the DB Browser for SQLite analog that makes the format usable by mortals.
  • A Million Nodes in a Tab — WASM RelateDB + cosmograph-style GPU rendering; load topology first, details on hover/zoom — the humane-large-graph experience (Mottin/Mueller's rules) for everyday data.
  • Mermaid as a Query Result — RETURN mermaid(path) — any Cypher result renders as a live diagram for docs, issues, and slides.
  • GraphGists, Reborn — the classic: fenced Cypher in a markdown file renders data + visualization in the browser. Cookbooks, but for community stories.
  • Static Sites from Dynamic Graphs — generate a Hugo/Astro site from graph queries; the graph is the CMS, the pages are views, and a rebuild is a query.
  • D3/Sigma/Cytoscape Adapters — one graph file, any viz library; the adapter layer is thin because the data is already shaped.
  • KNN Graph Viewer — vector-search neighborhoods as k-NN graphs; an alternative to t-SNE that stays queryable (and label-able) in the original space.
  • Diff View for Graphs — two checkpoints of the same store, visualized as a diff: added/removed/changed nodes and edges. The merge-conflict view for data.
  • Animated Graph Timelapse — a temporal graph played over time; the rise and fall of a community, a market, or a pandemic, one WAL frame at a time.

Use-Case Gallery

The classic graph domains — the ones every evaluation, every demo request, and every tutorial asks for — as ready-to-load .cl datasets with query packs. (The lineage: the Neo4j sandbox library these were proven in, plus the public developer-social-networks datasets.)

Authoring & Projection

Everyone draws graphs — on whiteboards, in marketing decks, in spreadsheets. The complexity was never the graph; it was the getting it in.

  • Whiteboard to Graph — photograph a whiteboard, a slide diagram, or a napkin sketch; a vision model (local or not) extracts nodes, edges, and labels into RelateDB — the drawing becomes queryable, and the diff from the last photo becomes a change log.
  • Arrows on RelateDB — Neo4j Labs' arrows.app, the interactive graph drawing and editing canvas, backed by RelateDB's WASM engine: draw as before, but the drawing is a live store — patterns run, results write back, the sketch and the data converge.
  • The Intentional Graph Workbench — Charles Simonyi's Intentional Workbench vision on a graph engine: one internal graph representation, projectional renderers and editors for every shape it can take — table, diagram, canvas, tree, timeline — each view a bidirectional editor, the mappings between them first-class.
  • Strategy Graphs as Shipped Artifacts — decision surfaces (taxonomies, question trees, choice lattices — even a 78-card tarot lattice) as portable .cl navigation files: walked with context, every walk a recorded probability-edge path, analytics as Cypher. Every working example today runs in memory or on a server; none ships a file.
  • Spreadsheets are Graphs — Felienne Hermans' research made practical: a workbook's formulas, references, and sheets as a graph (dependencies, smell detection, "what breaks if I change this cell") — plus the table data itself.
  • Table Editor to Graph — Markus Wissing's interactive editing of table-shaped data that is immediately the graph: edit rows in a grid while the graph view updates live — the same store, two projections, no import step.
  • Graph Sheets — the linked-record grid as the face of a property graph: rows are nodes, linked columns are typed edges, views are stored queries; Adam Wiggins' end-user-programming lessons (gradient not chasm, embodiment, living system, in-place toolchain) as the design contract — Airtable's front end over a real graph engine, shipped as one .cl file.

Play, Games & Simulation

  • The MUD Mapper's Revenge — MUD/MMO worlds (rooms, exits, items, spawn tables, player traces) in one queryable .cl file: the world IS the graph, the map is a projection.
  • The Graph Trading Card — a small subgraph as a QR code on a card, a badge, an NFC sticker — scan, merge, collect: physical handoff for graph files, the Graph Clipboard's last mile.
  • LEGO Assembly Graphs — parts, connectors, reference constructions, and the provenance manifest as a queryable store (the ldraw-nova architecture, graph-native): substitution checkers, build-vs-reference BOM diffs, and "what can I build with what I own" as subgraph-matching over Rebrickable's clean public corpora.
  • Franchise Genealogy — family trees for fictional universes at franchise scale: Tolkien's lineages, Dune houses, the Godfather clans — "how are Fëanor's descendants related to Melkor's lies?" as one query.
  • Dark-Style Multiverse Storage — parallel-world story graphs (the Dark TV model): typed world-line edges (-[:IN_WORLD {timeline: 1}]->), time-travel loops, bootstrap paradoxes — the same person at three ages across two worlds stays one node with world-scoped paths.
  • Living Worlds for NPCs — D&D campaign / MMO NPC state: who met whom, what they know, grudges and debts as temporal edges; the game master queries the world instead of remembering it.
  • World-Model Storage — persistent world state for simulation/game agents: rooms, affordances, event histories the agent lives in — the frontier where a world model needs a real storage engine, not a JSON blob.
  • GEDCOM Importer & Merger — the ancestry play: import standard GEDCOM exports, then merge trees from different relatives' research — the entity- resolution problem (same person, three spellings, two birth dates) as graph dedup with reviewable candidate matches.
  • Family Tree, But With the Awkward Parts — real genealogy with remarriages, adoptions, migrations as temporal edges; "are we related, and how?"
  • Decision Journal (the Obsidian-native one — life choices as graph events; retro decision-quality queries ("what did I actually know when I chose?").
  • Choose-Your-Own-Adventure Engine — the story graph is the database; readers query their own path history, authors write branches in Cypher.
  • State-Space Puzzle Solver — game states as nodes, moves as edges; BFS/A* solutions as watchable path queries.
  • Escape-Room Builder — locks, keys, puzzles as a dependency DAG; the design tool that proves the room is solvable.
  • The Fact-Check Engine — import Diffbot/GDELT slices as the evidence graph; paste an article, extract its claims, and query each against the source graph: which entities co-occur in reporting, which claimed relationships have no documented edge anywhere — fact-checking as missing-edge detection with full provenance (which sources say what, and how they're connected).
  • Conspiracy-Theory Debugger — theFact-Check Engine's cousin for analyzing claimed narratives: evidence-strength edges, and missing-edge queries that expose exactly where the theory needs unprovable links.
  • Argument Mapper for Debate Prep — claims, premises, rebuttals as a typed graph; find your unclosed rebuttal paths first.
  • Legal Citation Graphs — laws, statutes, court cases, courts, judges, parties, and the reference edges between them: precedent chains as citation paths ("which decisions did this ruling rely on, and which later overturned it"), the argument mapper's grown-up sibling for briefs — every claim in a legal memo traceable to its authorities as one query.
  • Recipe Fork Graph — dishes as nodes, substitutions as edges; the kitchen's git history. With the flavor layer: ingredients ↔ flavor compounds ↔ taste profiles (Ahn et al's flavor network science) — "what pairs with this?" and "novel pairings two hops from anything I cook" as graph queries. Lineage: the Neo4j community's recipe/food/taste classics (Luanne Misquitta, Rik van Bruggen, Mark Needham) — the same genre, embedded.
  • Stitch Graphs — knitting and weaving patterns are directed graphs (stitches as nodes, yarn paths as edges — the CG "stitch meshes" literature proved it): the pattern library, cable braids, and graded sizing as constrained graph transforms; the craft's first machine-readable pattern currency.
  • Reading-List Recommender That Shows Its Work — explainable paths through your own highlights. With real data: the Goodreads datasets (books, authors, shelves, ratings — already graph-shaped) as the classic import; the published Goodreads graph tutorials are the lineage, embedded this time.
  • The Movie Graph, All Grown Up — TheMovieDB/IMDB imports (the tutorial dataset of the whole graph world, now with the full catalog): collaborative filtering as plain Cypher ("people who liked what you liked"), and the 2026 twist — agents running hybrid search (fulltext + vector COMBINE) over plots and reviews for recommendations that cite their evidence.
  • Karaoke Set-List Weaver — songs, keys, tempos, energy as a weighted graph.
  • Collection Curator — vinyl/books/sneakers as collaboration graphs; "play me a path through my record shelf."
  • Wardrobe Planner — items, colors, occasions, weather; one query.
  • Menu Allergen Graph — dishes, ingredients, allergens; "what can I safely eat here?" on your phone.
  • League Historian — fantasy-sport trades and matches as a temporal graph.
  • Opening-Theory Explorer — your chess/Go games as a move-DAG.
  • Sentence Graph for Language Learning — spaced repetition by graph distance.
  • Street-Name Politics — who your city honors and the connections between them.
  • Board-Game-Night Matchmaker — "the game we all like that we haven't played in six months" as one query.
  • The Nothing-To-Watch Chooser — moods, actors, themes, runtimes; "40 minutes and tired" as a weighted query.

Meta: Graphs about Graphs

(one file per idea: Project/)

  • Query Plans as Graphs — every EXPLAIN tree collected into one meta-graph; search plans like code, diff them between versions, mine them for smells.
  • Tiny Neural Nets, Rendered — a 2-layer net as a weighted graph; animate training by watching edge weights change. Education, not infrastructure.
  • GDS Round-Trip — Graph Data Science as a graph transformer: projections in (subgraph → algorithm), compute results out (PageRank scores, communities, embeddings, kNN graphs, link predictions) written back as graph structure — clustering projections land in RelateDB as nodes and edges you can query with everything else. (Lineage: Neo4j GDS's projection model, but results land in the same embedded store, not a sidecar.)
  • Dynamic Path Index — a maintained shortest-path/frequency index as a graph on top of your graph; query the index, not the traversal.
  • Benchmark Zoo — every loadtest result as a graph of runs, shapes, and metrics; performance engineering becomes exploratory.
  • Schema Telescope — introspect many databases (or many stores) into one meta-graph of labels, keys and relationships; the federated data catalog that starts with a folder of files.

The Pattern

Every idea above is a variation on one theme:

Take a real thing, make it a graph, put the graph where the questions are.

Where the questions are: a browser, a phone, a robot, an agent, a classroom, a newsroom, a notebook. RelateDB's job is to make the "put it there" part free — no server, no ops, no export format.


Contributing

  • Have an idea? Open an issue with the section and a one-liner.
  • Built something? PR with a link + a screenshot/video.
  • The detail files in Project/ expand each idea into a short brief (what / why RelateDB / what it needs) — extend them freely.

License

The content of this repository is CC-BY-4.0. RelateDB itself is Apache-2.0.

(This list is a living document — seedlings welcome.)

About

Ideas you can build with RelateDB — a curated idea vault where the markdown files are a Relate graph database

Resources

Stars

16 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages