David Glushkov commited on
Commit ·
52f20aa
0
Parent(s):
Amtsgraph dataset v1.0 (built 2026-06-11)
Browse filesFiles changed (10)
- .gitattributesAdded+1
- README.mdAdded+99
- authorities.jsonlAdded+3
- caveats.jsonlAdded+3
- competences.jsonlAdded+3
- court_chains.jsonlAdded+3
- edges.jsonlAdded+3
- matters.jsonlAdded+3
- municipalities.jsonlAdded+3
- places_courts.jsonlAdded+3
1*.jsonl filter=lfs diff=lfs merge=lfs -text123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899---license: cc-by-nc-sa-4.0language: - depretty_name: "Amtsgraph — German public-authority competence graph"tags: - germany - legal - government - courts - public-administration - graphsize_categories: - 100K<n<1Mconfigs: - config_name: authorities data_files: authorities.jsonl - config_name: court_chains data_files: court_chains.jsonl - config_name: competences data_files: competences.jsonl - config_name: edges data_files: edges.jsonl - config_name: places_courts data_files: places_courts.jsonl - config_name: municipalities data_files: municipalities.jsonl - config_name: matters data_files: matters.jsonl - config_name: caveats data_files: caveats.jsonl---
# Amtsgraph
**The open, validated graph of German public authorities — who iscompetent, where, and for what.**
Built 2026-06-11 from official registers (Orts- und Gerichtsverzeichnis,PVOG/FITKO, Bundesagentur für Arbeit, Destatis, BayernPortal, OpenPLZ,xRepository). Every build passes a validation gate (coverage, collision,contiguity, benchmark checks) before release; every record carriesprovenance (source, URL, fetch timestamp).
## Files
| File | Rows | Content ||---|---|---|| `authorities.jsonl` | 19,745 | all authorities with contacts, provenance, external IDs || `court_chains.jsonl` | 338,873 | instance chains per (plz, ortk, matter) || `competences.jsonl` | 79,630 | kind × area assignments (rank 0 = apply here) || `edges.jsonl` | 8,395 | parent / supervision / appeal / successor relations || `places_courts.jsonl` | 14,057 | official court-resolution place register || `municipalities.jsonl` | 10,950 | AGS/ARS spine with postal codes (M:N) || `matters.jsonl` | 36 | legal-matter taxonomy (14 core + special) || `caveats.jsonl` | 5,369 | warnings that must be surfaced with answers |
## Resolution logic
1. **Courts**: look up `places_courts` by postal code (+ locality when one code spans several court districts), then `court_chains` by `(plz, ortk, matter)` — rows ordered by `position` are the full instance chain (role `court`) plus prosecution offices (role `prosecution`). Join `authorities` for contacts and filing addresses.2. **Agencies**: map the user's municipality to its `ags` via `municipalities`, then filter `competences` by `kind` and area (`gemeinde` = 8-digit AGS, `kreis` = 5-digit prefix, `land` = 2-digit). `rank 0` = the office to apply at; `rank 1` = supervisory body.3. **Always join `caveats`** for the scope you resolved — they flag genuine ambiguities and register gaps. For legal use, an honest warning beats a confident wrong answer.4. The organisational web (Bavaria): traverse `edges` with `relation='parent'` for department hierarchies, `'supervision'` for oversight, `'appeal'` for derived court appeal routes.
## Important notes
- General information, **not legal advice**; statutory exceptions to competence rules exist that no dataset can capture.- Department-level depth covers Bavaria's 96 Kreisverwaltungsbehörden (pilot); other Länder resolve at authority level.- Underlying records originate from official public registers; their respective terms govern redistribution (see the source registry in the GitHub repository). The pipeline and schema are Apache-2.0; this dataset is CC BY-NC-SA 4.0.
## Citation
```bibtex@misc{amtsgraph2026, title = {Amtsgraph: an open validated graph of German public authorities, court competences and organisational structure}, author = {Glushkov, David and {SNTIQ}}, year = {2026}, url = {https://github.com/SNTIQ-Team/amtsgraph}}```
Source code, pipeline and full documentation:**https://github.com/SNTIQ-Team/amtsgraph**123version https://git-lfs.github.com/spec/v1oid sha256:29a5bb6cc883e29cd5748b32a9cdb3c1c476aed4f12cd4d0f0e60b4e3d3592dasize 13318530123version https://git-lfs.github.com/spec/v1oid sha256:42099ffa114dba141427e9642aa73ceb2122715bfbe40bb2b28a3e249099210fsize 1547166123version https://git-lfs.github.com/spec/v1oid sha256:e4e66525e992c676f6dff34c68dc8346c6450aa8ad0693ebf5ffb5765fb2e54fsize 7875693123version https://git-lfs.github.com/spec/v1oid sha256:edf2e7f08eca199dc3b0847697b75526ed3b936b9f77625996f58828ce3af111size 43280256123version https://git-lfs.github.com/spec/v1oid sha256:4b495063f15fa15dd2e87f7f9ee8aff1a33e7c982e47360b4841697b0949e66esize 1031904123version https://git-lfs.github.com/spec/v1oid sha256:01bdd81393e8c2535e64a11074fa0454dcb50acc0dba26e981ba6ef8173d57desize 3263123version https://git-lfs.github.com/spec/v1oid sha256:95cdbb8593e4949494fb15935a4836cd738c406ba4c8b13c364456e430dcac0bsize 2921104123version https://git-lfs.github.com/spec/v1oid sha256:a9b3937d1de1d07e00e6a2f2a1c36dd312d30000f2b4fbc5acce3ae119a87d7csize 1555921.gitattributesAdded+1
README.mdAdded+99
authorities.jsonlAdded+3
caveats.jsonlAdded+3
competences.jsonlAdded+3
court_chains.jsonlAdded+3
edges.jsonlAdded+3
matters.jsonlAdded+3
municipalities.jsonlAdded+3
places_courts.jsonlAdded+3