Madrid GTFS
Transit GTFS shaped as a reactive semantic graph on
.me— for Smart Cities demos and dependency‑propagation benchmarks. No bulk dumps in this repo.
Madrid subway / regional GTFS is the shared shape used by:
- Live
.medemos (tiny synthetic subset in the browser) - The Smart Cities landing and syntax walkthrough
- The GTFS‑Madrid benchmark path in
.me(Van Assche CHANGE packages from Zenodo)
Live demos (.me)
| Demo | URL |
|---|---|
| GTFS Madrid universe | gtfs-madrid-universe.html |
| Madrid knowledge / fares | madrid-knowledge.html |
| Demo graph JSON (subset) | gtfs-madrid-demo-graph.json |
These pages load a mini GTFS‑Madrid‑shaped graph — not the full Zenodo extract.
Smart Cities
| Page | URL |
|---|---|
| Smart Cities landing | neurons-me.github.io/smart-cities/ |
| Syntax (reactive city tree) | .me/docs/Smart-Cities.html |
Benchmark path
In the .me repo (do not copy multi‑GB data/ here):
- Adapter + workload:
Typescript/tests/Benchmarks/GTFS-Madrid/ - Measures dependency propagation (
k, recomputed,sourcePath, latency) under GTFS‑like CREATE / UPDATE / DELETE — not an RML/RDF materialization bench.
Results
Measured on this.me@4.2.0 (2026-10-10), base→seed0 of the CHANGE packages:
| scale | stop_times | writes | k p50 / p95 / max |
|---|---|---|---|
| 1 | 2,364 | 151 | 1 / 18.5 / 27 |
| 10 | 23,640 | 1,304 | 1 / 18 / 27 |
| 100 | 236,400 | 13,401 | 1 / 18 / 27 (4.1.0) |
k (the derived values one write recomputes) stays flat as VIG grows the data 100×. A fan-out skew run (Zipf and hub profiles over trips.service_id and stop_times.trip_id, generated by skew/generate-skew.ts in the benchmark folder) shows the cost then tracks the size of the parent a write touches. Numbers, known weaknesses (DELETE scans the store) and how to reproduce: Extreme Fan-Out → For GTFS-Madrid-Bench authors · benchmark README.
Local clone:
git clone https://github.com/neurons-me/.me.git
cd .me/Typescript
# see tests/Benchmarks/GTFS-Madrid/README.md — put dumps under data/ (gitignored)
Data sources (link only)
| Resource | Link |
|---|---|
| Van Assche CHANGE packages (preferred) | Zenodo 10.5281/zenodo.14038823 |
| GTFS‑Madrid‑Bench (Chaves‑Fraga et al.) | oeg-upm/gtfs-bench · Zenodo 10.5281/zenodo.3574492 |
Prefer CHANGE archives (GTFS-Scale-{1,10,100}-CHANGE.tar.xz: 3.4 MiB, 95.7 MiB and 1.12 GiB compressed; the tables the benchmark reads from base + seed0 come to about 0.6 MB, 5.9 MB and 59 MiB extracted), not ALL. Extract only the CSVs you need under the benchmark’s data/scale{N}/{base,seed0}/ — see the GTFS‑Madrid README.
Citation (benchmark lineage)
- Dylan Van Assche et al., Incremental Knowledge Graph Construction from Heterogeneous Data Sources — resources on Zenodo above.
- David Chaves‑Fraga et al., GTFS‑Madrid‑Bench (Journal of Web Semantics, 2020).