The Dataset Viewer has been disabled on this dataset.
TrafficRuleRetrieval
The traffic-rule retrieval index of the traffic-rule-vqa pipeline (Phase 0), with the texts it was built from. Text only.
| Path | Content |
|---|---|
traffic_rules/{COUNTRY}/ |
Markdown texts of the traffic laws of six jurisdictions: Germany (StVO, StVG, stvo_signs.csv), China, Singapore, and Boston, Phoenix and San Francisco (city and state law) |
traffic_rules_vector_store/ |
Chroma store of 15,983 chunks (Markdown headers, then 1,500-character chunks with 200 overlap), embedded with gemini-embedding-001; queries need the same embedding model |
traffic_rules_kg.pkl |
Clause-level knowledge graph (NetworkX, 8,409 nodes) with condition tags and sign references |
traffic_rules_kg.pkl is a Python pickle: load it only if you trust this repository, or rebuild it from the texts with 00_knowledge_retrieval/knowledge_graph/ of the code repository.
The released graph has two curation steps no script reproduces: 57 oversized clauses were split into sub-clauses and 43 over-generic clauses lost their tags.
The legal texts are public statutes and regulations of the named jurisdictions, converted to Markdown; the original publications remain authoritative. Pair with TrafficRuleVQA and TrafficRuleBenchmark.
- Downloads last month
- 485