David Glushkov commited on
Commit ·
52f20aa
0
Parent(s):
Amtsgraph dataset v1.0 (built 2026-06-11)
Browse files- .gitattributes +1 -0
- README.md +99 -0
- authorities.jsonl +3 -0
- caveats.jsonl +3 -0
- competences.jsonl +3 -0
- court_chains.jsonl +3 -0
- edges.jsonl +3 -0
- matters.jsonl +3 -0
- municipalities.jsonl +3 -0
- places_courts.jsonl +3 -0
.gitattributes
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
*.jsonl filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,99 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-nc-sa-4.0
|
| 3 |
+
language:
|
| 4 |
+
- de
|
| 5 |
+
pretty_name: "Amtsgraph — German public-authority competence graph"
|
| 6 |
+
tags:
|
| 7 |
+
- germany
|
| 8 |
+
- legal
|
| 9 |
+
- government
|
| 10 |
+
- courts
|
| 11 |
+
- public-administration
|
| 12 |
+
- graph
|
| 13 |
+
size_categories:
|
| 14 |
+
- 100K<n<1M
|
| 15 |
+
configs:
|
| 16 |
+
- config_name: authorities
|
| 17 |
+
data_files: authorities.jsonl
|
| 18 |
+
- config_name: court_chains
|
| 19 |
+
data_files: court_chains.jsonl
|
| 20 |
+
- config_name: competences
|
| 21 |
+
data_files: competences.jsonl
|
| 22 |
+
- config_name: edges
|
| 23 |
+
data_files: edges.jsonl
|
| 24 |
+
- config_name: places_courts
|
| 25 |
+
data_files: places_courts.jsonl
|
| 26 |
+
- config_name: municipalities
|
| 27 |
+
data_files: municipalities.jsonl
|
| 28 |
+
- config_name: matters
|
| 29 |
+
data_files: matters.jsonl
|
| 30 |
+
- config_name: caveats
|
| 31 |
+
data_files: caveats.jsonl
|
| 32 |
+
---
|
| 33 |
+
|
| 34 |
+
# Amtsgraph
|
| 35 |
+
|
| 36 |
+
**The open, validated graph of German public authorities — who is
|
| 37 |
+
competent, where, and for what.**
|
| 38 |
+
|
| 39 |
+
Built 2026-06-11 from official registers (Orts- und Gerichtsverzeichnis,
|
| 40 |
+
PVOG/FITKO, Bundesagentur für Arbeit, Destatis, BayernPortal, OpenPLZ,
|
| 41 |
+
xRepository). Every build passes a validation gate (coverage, collision,
|
| 42 |
+
contiguity, benchmark checks) before release; every record carries
|
| 43 |
+
provenance (source, URL, fetch timestamp).
|
| 44 |
+
|
| 45 |
+
## Files
|
| 46 |
+
|
| 47 |
+
| File | Rows | Content |
|
| 48 |
+
|---|---|---|
|
| 49 |
+
| `authorities.jsonl` | 19,745 | all authorities with contacts, provenance, external IDs |
|
| 50 |
+
| `court_chains.jsonl` | 338,873 | instance chains per (plz, ortk, matter) |
|
| 51 |
+
| `competences.jsonl` | 79,630 | kind × area assignments (rank 0 = apply here) |
|
| 52 |
+
| `edges.jsonl` | 8,395 | parent / supervision / appeal / successor relations |
|
| 53 |
+
| `places_courts.jsonl` | 14,057 | official court-resolution place register |
|
| 54 |
+
| `municipalities.jsonl` | 10,950 | AGS/ARS spine with postal codes (M:N) |
|
| 55 |
+
| `matters.jsonl` | 36 | legal-matter taxonomy (14 core + special) |
|
| 56 |
+
| `caveats.jsonl` | 5,369 | warnings that must be surfaced with answers |
|
| 57 |
+
|
| 58 |
+
## Resolution logic
|
| 59 |
+
|
| 60 |
+
1. **Courts**: look up `places_courts` by postal code (+ locality when one
|
| 61 |
+
code spans several court districts), then `court_chains` by
|
| 62 |
+
`(plz, ortk, matter)` — rows ordered by `position` are the full
|
| 63 |
+
instance chain (role `court`) plus prosecution offices (role
|
| 64 |
+
`prosecution`). Join `authorities` for contacts and filing addresses.
|
| 65 |
+
2. **Agencies**: map the user's municipality to its `ags` via
|
| 66 |
+
`municipalities`, then filter `competences` by `kind` and area
|
| 67 |
+
(`gemeinde` = 8-digit AGS, `kreis` = 5-digit prefix, `land` = 2-digit).
|
| 68 |
+
`rank 0` = the office to apply at; `rank 1` = supervisory body.
|
| 69 |
+
3. **Always join `caveats`** for the scope you resolved — they flag
|
| 70 |
+
genuine ambiguities and register gaps. For legal use, an honest
|
| 71 |
+
warning beats a confident wrong answer.
|
| 72 |
+
4. The organisational web (Bavaria): traverse `edges` with
|
| 73 |
+
`relation='parent'` for department hierarchies, `'supervision'` for
|
| 74 |
+
oversight, `'appeal'` for derived court appeal routes.
|
| 75 |
+
|
| 76 |
+
## Important notes
|
| 77 |
+
|
| 78 |
+
- General information, **not legal advice**; statutory exceptions to
|
| 79 |
+
competence rules exist that no dataset can capture.
|
| 80 |
+
- Department-level depth covers Bavaria's 96 Kreisverwaltungsbehörden
|
| 81 |
+
(pilot); other Länder resolve at authority level.
|
| 82 |
+
- Underlying records originate from official public registers; their
|
| 83 |
+
respective terms govern redistribution (see the source registry in the
|
| 84 |
+
GitHub repository). The pipeline and schema are Apache-2.0; this dataset is CC BY-NC-SA 4.0.
|
| 85 |
+
|
| 86 |
+
## Citation
|
| 87 |
+
|
| 88 |
+
```bibtex
|
| 89 |
+
@misc{amtsgraph2026,
|
| 90 |
+
title = {Amtsgraph: an open validated graph of German public
|
| 91 |
+
authorities, court competences and organisational structure},
|
| 92 |
+
author = {Glushkov, David and {SNTIQ}},
|
| 93 |
+
year = {2026},
|
| 94 |
+
url = {https://github.com/SNTIQ-Team/amtsgraph}
|
| 95 |
+
}
|
| 96 |
+
```
|
| 97 |
+
|
| 98 |
+
Source code, pipeline and full documentation:
|
| 99 |
+
**https://github.com/SNTIQ-Team/amtsgraph**
|
authorities.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:29a5bb6cc883e29cd5748b32a9cdb3c1c476aed4f12cd4d0f0e60b4e3d3592da
|
| 3 |
+
size 13318530
|
caveats.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:42099ffa114dba141427e9642aa73ceb2122715bfbe40bb2b28a3e249099210f
|
| 3 |
+
size 1547166
|
competences.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e4e66525e992c676f6dff34c68dc8346c6450aa8ad0693ebf5ffb5765fb2e54f
|
| 3 |
+
size 7875693
|
court_chains.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:edf2e7f08eca199dc3b0847697b75526ed3b936b9f77625996f58828ce3af111
|
| 3 |
+
size 43280256
|
edges.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4b495063f15fa15dd2e87f7f9ee8aff1a33e7c982e47360b4841697b0949e66e
|
| 3 |
+
size 1031904
|
matters.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:01bdd81393e8c2535e64a11074fa0454dcb50acc0dba26e981ba6ef8173d57de
|
| 3 |
+
size 3263
|
municipalities.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:95cdbb8593e4949494fb15935a4836cd738c406ba4c8b13c364456e430dcac0b
|
| 3 |
+
size 2921104
|
places_courts.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a9b3937d1de1d07e00e6a2f2a1c36dd312d30000f2b4fbc5acce3ae119a87d7c
|
| 3 |
+
size 1555921
|