GTFS Madrid · Live knowledge universe

Routes, trips, services and stop times in .me, linked as live dependencies. Change a fact and the kernel recomputes only the affected set k, not all n.

On the full benchmark n grew ~100× (2.4k → 236k stop times) while k p95/max stayed ~18 / 27. (Scale 100 measured on this.me 4.1.0; scales 1 and 10 re-run on 4.2.1 with the same k: p50 1 / p95 18 / max 27.) Click a node for me.explain(path); mutate to watch the wave.

GTFS semantic dependency graph
waiting for kernel…
service route trip stopTime idx / aggregate selected dependsOn recomputed wave hop ghost
Kernel · RUNNING · this.me@4.2.1
RUNNING Loading kernel…
n
—
k
—
changed
—
ms
—
no mutation yet · —
Density

Ghosts only — kernel stays the demo subset.

Mutations
Wave hops
  1. Run a mutation to animate meta.recomputed hop-by-hop
.me syntax
Click a node — or run a mutation — to see the path as typed .me
—
explain() / last wave
me.explain(path) or last mutation wave meta
—

What this is

A tiny GTFS-Madrid-shaped knowledge universe on the live this.me kernel — same idea as the full evolving workload, scaled down so you can see it. Click a node → me.explain(path) (dependsOn in cyan). Mutate → recomputed wave in red. Gold ring = selected.

n = universe size · k = the number of derived values the kernel recomputed after one write (me.explain(path).meta.k). In this graph those values are reached through the feed’s foreign keys (PK-FK): a calendar day of a service → that service’s active and the live of every trip whose service_id points to it; deleting a trip → the routeId of each of its stop_times; a new stop_time → its trip’s stopTimeCount. They are different variables: growing the world does not have to grow every mutation’s wave. That is what the scale-1 → 10 → 100 result on the real GTFS adapter showed.

Those snapshots come from VIG, the GTFS-Madrid-Bench generator, which grows the data uniformly (every trip keeps about 18 stop_times). A separate skew run (Zipf and hub fan-out) builds giant parents: then k, and the cost of a write, track the size of the parent it touches. Numbers, weaknesses and how to reproduce: Extreme Fan-Out.

Honesty (same as the blog / benchmark README): this is not an RML/RDF materialization run, and we are not claiming mutations are O(k). Dependency propagation stayed local to k; structural DELETE apply can still cost with corpus size — that bottleneck is real and separate from recompute. CREATE here uses explicit gtfs.idx membership slots (flip 0→1), not “natural GTFS CREATE k=1”. Loading a larger snapshot costs more with n; that is not the same as recomputation after a mutation. Density ghosts are visual-only — not wired into the kernel.

Kernel: published this.me@4.2.1 (hash-pinned). Isolation demos still pin 4.0.2; DELETE via me["-"] needs ≥ 4.1.0 for ABSENCE invalidation. Append ?local=1 to load ../Typescript/dist/me.es.js instead (static serve from repo root).

Graph JSON: gtfs-madrid-demo-graph.json · kernel: neurons-me/.me · benchmark (main): GTFS-Madrid/ · blog: What happened when we loaded Madrid’s GTFS… · human door (fares / abono): Madrid knowledge · dataset: Madrid GTFS (mlearning.studio/GTFS)