Politrack: track Austrian politicians from public sources

Initial import of Politrack, a self-hosted service that tracks Austrian
politicians from federal to municipal level - roles, votes, money flows,
statements, meetings, social media and legal proceedings - with every claim
linked to its sources.

- backend: FastAPI + Postgres/pgvector; adapter framework (fetch -> parse ->
  load -> enrich) with robots.txt/TDM-aware fetching, a raw-response archive
  for reparsing, and a claim/evidence model with corroboration
- sources: Parliament, Wikidata, EU Parliament/Commission, Council of
  Ministers, Rechnungshof party reports and donations, procurement, RTR media
  transparency, political ad libraries, WKStA, news feeds, Wikipedia edits,
  Bluesky, Mastodon, public Telegram channels, YouTube and X (official API)
- web: Next.js frontend in German and English with typed API client
- mcp: MCP server for AI agents and RAG
- docs: architecture, data model, sources, legal notes, Unraid deployment and
  contributor guides; Docker Compose setup for Unraid

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
simonandClaude Opus 5.5 committed 2026-10-28 20:02:01 +01:00
commit 583ccba31c
187 files changed
+39890

No files matched your search

@@ -0,0 +1,466 @@
[
{
"__type__": "Claim",
"claim_type": "wiki_edit",
"counterpart_org": null,
"counterpart_person": {
"__type__": "PersonRef",
"hints": {},
"ids": {},
"name": "Nationalrat (Österreich)"
},
"data": {
"comment": "XXIII. GP eingefügt.",
"sizediff": 312,
"title": "Nationalrat (Österreich)",
"wiki": "de.wikipedia.org"
},
"evidence": [
{
"__type__": "Evidence",
"confidence": 1.0,
"doc_type": "web_page",
"excerpt": null,
"full_text": null,
"locator": "",
"meta": {},
"published_at": "2024-10-25T13:43:05Z",
"quote": "XXIII. GP eingefügt.",
"source": null,
"stance": "supports",
"title": "Wikipedia: Nationalrat (Österreich)",
"url": "https://de.wikipedia.org/w/index.php?diff=249733499"
}
],
"facet": null,
"key": [
"wiki",
"de.wikipedia.org",
249733499
],
"occurred_at": "2024-10-25T13:43:05Z",
"org": {
"__type__": "OrgRef",
"create": false,
"ids": {},
"kind": "other",
"name": null,
"short_name": null,
"slug": "nationalrat"
},
"person": null,
"review": false,
"sensitive": false,
"summary_de": "Wikipedia-Bearbeitung aus dem Netz von Parlament (Parlamentsdirektion): „Nationalrat (Österreich)“ (+312 Zeichen) – XXIII. GP eingefügt.",
"summary_en": "Wikipedia edit from the network of Parlament (Parlamentsdirektion): \"Nationalrat (Österreich)\" (+312 characters)",
"topics": [],
"valid_from": null,
"valid_to": null
},
{
"__type__": "Claim",
"claim_type": "wiki_edit",
"counterpart_org": null,
"counterpart_person": {
"__type__": "PersonRef",
"hints": {},
"ids": {},
"name": "Susanne Kurz"
},
"data": {
"comment": "",
"sizediff": 382,
"title": "Susanne Kurz",
"wiki": "de.wikipedia.org"
},
"evidence": [
{
"__type__": "Evidence",
"confidence": 1.0,
"doc_type": "web_page",
"excerpt": null,
"full_text": null,
"locator": "",
"meta": {},
"published_at": "2017-03-16T11:11:37Z",
"quote": null,
"source": null,
"stance": "supports",
"title": "Wikipedia: Susanne Kurz",
"url": "https://de.wikipedia.org/w/index.php?diff=163632181"
}
],
"facet": null,
"key": [
"wiki",
"de.wikipedia.org",
163632181
],
"occurred_at": "2017-03-16T11:11:37Z",
"org": {
"__type__": "OrgRef",
"create": false,
"ids": {},
"kind": "other",
"name": null,
"short_name": null,
"slug": "nationalrat"
},
"person": null,
"review": false,
"sensitive": false,
"summary_de": "Wikipedia-Bearbeitung aus dem Netz von Parlament (Parlamentsdirektion): „Susanne Kurz“ (+382 Zeichen)",
"summary_en": "Wikipedia edit from the network of Parlament (Parlamentsdirektion): \"Susanne Kurz\" (+382 characters)",
"topics": [],
"valid_from": null,
"valid_to": null
},
{
"__type__": "Claim",
"claim_type": "wiki_edit",
"counterpart_org": null,
"counterpart_person": {
"__type__": "PersonRef",
"hints": {},
"ids": {},
"name": "Christoph Pramhofer"
},
"data": {
"comment": "2 Einzelnachweise hinzugefügt",
"sizediff": 409,
"title": "Christoph Pramhofer",
"wiki": "de.wikipedia.org"
},
"evidence": [
{
"__type__": "Evidence",
"confidence": 1.0,
"doc_type": "web_page",
"excerpt": null,
"full_text": null,
"locator": "",
"meta": {},
"published_at": "2025-03-12T11:19:17Z",
"quote": "2 Einzelnachweise hinzugefügt",
"source": null,
"stance": "supports",
"title": "Wikipedia: Christoph Pramhofer",
"url": "https://de.wikipedia.org/w/index.php?diff=254133051"
}
],
"facet": null,
"key": [
"wiki",
"de.wikipedia.org",
254133051
],
"occurred_at": "2025-03-12T11:19:17Z",
"org": {
"__type__": "OrgRef",
"create": false,
"ids": {},
"kind": "other",
"name": null,
"short_name": null,
"slug": "nationalrat"
},
"person": null,
"review": false,
"sensitive": false,
"summary_de": "Wikipedia-Bearbeitung aus dem Netz von Parlament (Parlamentsdirektion): „Christoph Pramhofer“ (+409 Zeichen) – 2 Einzelnachweise hinzugefügt",
"summary_en": "Wikipedia edit from the network of Parlament (Parlamentsdirektion): \"Christoph Pramhofer\" (+409 characters)",
"topics": [],
"valid_from": null,
"valid_to": null
},
{
"__type__": "Claim",
"claim_type": "wiki_edit",
"counterpart_org": null,
"counterpart_person": {
"__type__": "PersonRef",
"hints": {},
"ids": {},
"name": "Christoph Pramhofer"
},
"data": {
"comment": "Beleg/Quelle für Abgeordneter zum Nationalrat",
"sizediff": 166,
"title": "Christoph Pramhofer",
"wiki": "de.wikipedia.org"
},
"evidence": [
{
"__type__": "Evidence",
"confidence": 1.0,
"doc_type": "web_page",
"excerpt": null,
"full_text": null,
"locator": "",
"meta": {},
"published_at": "2025-01-13T13:46:26Z",
"quote": "Beleg/Quelle für Abgeordneter zum Nationalrat",
"source": null,
"stance": "supports",
"title": "Wikipedia: Christoph Pramhofer",
"url": "https://de.wikipedia.org/w/index.php?diff=252212492"
}
],
"facet": null,
"key": [
"wiki",
"de.wikipedia.org",
252212492
],
"occurred_at": "2025-01-13T13:46:26Z",
"org": {
"__type__": "OrgRef",
"create": false,
"ids": {},
"kind": "other",
"name": null,
"short_name": null,
"slug": "nationalrat"
},
"person": null,
"review": false,
"sensitive": false,
"summary_de": "Wikipedia-Bearbeitung aus dem Netz von Parlament (Parlamentsdirektion): „Christoph Pramhofer“ (+166 Zeichen) – Beleg/Quelle für Abgeordneter zum Nationalrat",
"summary_en": "Wikipedia edit from the network of Parlament (Parlamentsdirektion): \"Christoph Pramhofer\" (+166 characters)",
"topics": [],
"valid_from": null,
"valid_to": null
},
{
"__type__": "Claim",
"claim_type": "wiki_edit",
"counterpart_org": null,
"counterpart_person": {
"__type__": "PersonRef",
"hints": {},
"ids": {},
"name": "Kai Jan Krainer"
},
"data": {
"comment": "Änderung 172818008 von [[Special:Contribs/Nolispanmo|Nolispanmo]] rückgängig gemacht;",
"sizediff": -1249,
"title": "Kai Jan Krainer",
"wiki": "de.wikipedia.org"
},
"evidence": [
{
"__type__": "Evidence",
"confidence": 1.0,
"doc_type": "web_page",
"excerpt": null,
"full_text": null,
"locator": "",
"meta": {},
"published_at": "2018-01-11T15:19:46Z",
"quote": "Änderung 172818008 von [[Special:Contribs/Nolispanmo|Nolispanmo]] rückgängig gemacht;",
"source": null,
"stance": "supports",
"title": "Wikipedia: Kai Jan Krainer",
"url": "https://de.wikipedia.org/w/index.php?diff=172818453"
}
],
"facet": null,
"key": [
"wiki",
"de.wikipedia.org",
172818453
],
"occurred_at": "2018-01-11T15:19:46Z",
"org": {
"__type__": "OrgRef",
"create": false,
"ids": {},
"kind": "other",
"name": null,
"short_name": null,
"slug": "nationalrat"
},
"person": null,
"review": false,
"sensitive": false,
"summary_de": "Wikipedia-Bearbeitung aus dem Netz von Parlament (Parlamentsdirektion): „Kai Jan Krainer“ (-1249 Zeichen) – Änderung 172818008 von [[Special:Contribs/Nolispanmo|Nolispanmo]] rückgängig gemacht;",
"summary_en": "Wikipedia edit from the network of Parlament (Parlamentsdirektion): \"Kai Jan Krainer\" (-1249 characters)",
"topics": [],
"valid_from": null,
"valid_to": null
},
{
"__type__": "Claim",
"claim_type": "wiki_edit",
"counterpart_org": null,
"counterpart_person": {
"__type__": "PersonRef",
"hints": {},
"ids": {},
"name": "Kai Jan Krainer"
},
"data": {
"comment": "Es gibt keine Belege, ja nicht einmal Hinweise für das Beschaffen irgendwelcher Steuerakte. Außerdem erscheint der Absatz keine Relevanz für eine kurze Personenbeschreibung des Herrn Krainer zu besitzen.",
"sizediff": -1138,
"title": "Kai Jan Krainer",
"wiki": "de.wikipedia.org"
},
"evidence": [
{
"__type__": "Evidence",
"confidence": 1.0,
"doc_type": "web_page",
"excerpt": null,
"full_text": null,
"locator": "",
"meta": {},
"published_at": "2018-01-11T15:02:34Z",
"quote": "Es gibt keine Belege, ja nicht einmal Hinweise für das Beschaffen irgendwelcher Steuerakte. Außerdem erscheint der Absatz keine Relevanz für eine kurze Personenbeschreibung des Herrn Krainer zu besitzen.",
"source": null,
"stance": "supports",
"title": "Wikipedia: Kai Jan Krainer",
"url": "https://de.wikipedia.org/w/index.php?diff=172817952"
}
],
"facet": null,
"key": [
"wiki",
"de.wikipedia.org",
172817952
],
"occurred_at": "2018-01-11T15:02:34Z",
"org": {
"__type__": "OrgRef",
"create": false,
"ids": {},
"kind": "other",
"name": null,
"short_name": null,
"slug": "nationalrat"
},
"person": null,
"review": false,
"sensitive": false,
"summary_de": "Wikipedia-Bearbeitung aus dem Netz von Parlament (Parlamentsdirektion): „Kai Jan Krainer“ (-1138 Zeichen) – Es gibt keine Belege, ja nicht einmal Hinweise für das Beschaffen irgendwelcher Steuerakte. Außerdem erscheint der…",
"summary_en": "Wikipedia edit from the network of Parlament (Parlamentsdirektion): \"Kai Jan Krainer\" (-1138 characters)",
"topics": [],
"valid_from": null,
"valid_to": null
},
{
"__type__": "Claim",
"claim_type": "wiki_edit",
"counterpart_org": null,
"counterpart_person": {
"__type__": "PersonRef",
"hints": {},
"ids": {},
"name": "Kai Jan Krainer"
},
"data": {
"comment": "Er ist bereits seit mehr als zehn Jahren nicht mehr Vorstandsmitglied der VHS-Landstraße. Und Mitarbeiter der Volkshilfe Landstraße war er nie.",
"sizediff": -101,
"title": "Kai Jan Krainer",
"wiki": "de.wikipedia.org"
},
"evidence": [
{
"__type__": "Evidence",
"confidence": 1.0,
"doc_type": "web_page",
"excerpt": null,
"full_text": null,
"locator": "",
"meta": {},
"published_at": "2018-01-11T15:00:01Z",
"quote": "Er ist bereits seit mehr als zehn Jahren nicht mehr Vorstandsmitglied der VHS-Landstraße. Und Mitarbeiter der Volkshilfe Landstraße war er nie.",
"source": null,
"stance": "supports",
"title": "Wikipedia: Kai Jan Krainer",
"url": "https://de.wikipedia.org/w/index.php?diff=172817880"
}
],
"facet": null,
"key": [
"wiki",
"de.wikipedia.org",
172817880
],
"occurred_at": "2018-01-11T15:00:01Z",
"org": {
"__type__": "OrgRef",
"create": false,
"ids": {},
"kind": "other",
"name": null,
"short_name": null,
"slug": "nationalrat"
},
"person": null,
"review": false,
"sensitive": false,
"summary_de": "Wikipedia-Bearbeitung aus dem Netz von Parlament (Parlamentsdirektion): „Kai Jan Krainer“ (-101 Zeichen) – Er ist bereits seit mehr als zehn Jahren nicht mehr Vorstandsmitglied der VHS-Landstraße. Und Mitarbeiter der…",
"summary_en": "Wikipedia edit from the network of Parlament (Parlamentsdirektion): \"Kai Jan Krainer\" (-101 characters)",
"topics": [],
"valid_from": null,
"valid_to": null
},
{
"__type__": "Claim",
"claim_type": "wiki_edit",
"counterpart_org": null,
"counterpart_person": {
"__type__": "PersonRef",
"hints": {},
"ids": {},
"name": "Kai Jan Krainer"
},
"data": {
"comment": "Der Hypo-Untersuchungsausschuss ist vorbei. Zusätzlich Bankenuntersuchungsausschuss ergänzt.",
"sizediff": 134,
"title": "Kai Jan Krainer",
"wiki": "de.wikipedia.org"
},
"evidence": [
{
"__type__": "Evidence",
"confidence": 1.0,
"doc_type": "web_page",
"excerpt": null,
"full_text": null,
"locator": "",
"meta": {},
"published_at": "2018-01-11T14:58:12Z",
"quote": "Der Hypo-Untersuchungsausschuss ist vorbei. Zusätzlich Bankenuntersuchungsausschuss ergänzt.",
"source": null,
"stance": "supports",
"title": "Wikipedia: Kai Jan Krainer",
"url": "https://de.wikipedia.org/w/index.php?diff=172817844"
}
],
"facet": null,
"key": [
"wiki",
"de.wikipedia.org",
172817844
],
"occurred_at": "2018-01-11T14:58:12Z",
"org": {
"__type__": "OrgRef",
"create": false,
"ids": {},
"kind": "other",
"name": null,
"short_name": null,
"slug": "nationalrat"
},
"person": null,
"review": false,
"sensitive": false,
"summary_de": "Wikipedia-Bearbeitung aus dem Netz von Parlament (Parlamentsdirektion): „Kai Jan Krainer“ (+134 Zeichen) – Der Hypo-Untersuchungsausschuss ist vorbei. Zusätzlich Bankenuntersuchungsausschuss ergänzt.",
"summary_en": "Wikipedia edit from the network of Parlament (Parlamentsdirektion): \"Kai Jan Krainer\" (+134 characters)",
"topics": [],
"valid_from": null,
"valid_to": null
}
]
@@ -0,0 +1,103 @@
{
"batchcomplete": true,
"query": {
"usercontribs": [
{
"userid": 0,
"user": "161.110.252.80",
"pageid": 28704,
"revid": 249733499,
"parentid": 249715607,
"ns": 0,
"title": "Nationalrat (Österreich)",
"timestamp": "2024-10-25T13:43:05Z",
"comment": "XXIII. GP eingefügt.",
"sizediff": 312
},
{
"userid": 0,
"user": "161.110.194.13",
"pageid": 6988786,
"revid": 163632181,
"parentid": 163145893,
"ns": 0,
"title": "Susanne Kurz",
"timestamp": "2017-03-16T11:11:37Z",
"comment": "",
"sizediff": 382
},
{
"userid": 0,
"user": "161.110.192.90",
"pageid": 13274431,
"revid": 254133051,
"parentid": 252212492,
"ns": 0,
"title": "Christoph Pramhofer",
"timestamp": "2025-03-12T11:19:17Z",
"comment": "2 Einzelnachweise hinzugefügt",
"sizediff": 409
},
{
"userid": 0,
"user": "161.110.192.90",
"pageid": 13274431,
"revid": 252212492,
"parentid": 251987918,
"ns": 0,
"title": "Christoph Pramhofer",
"timestamp": "2025-01-13T13:46:26Z",
"comment": "Beleg/Quelle für Abgeordneter zum Nationalrat",
"sizediff": 166
},
{
"userid": 0,
"user": "161.110.189.186",
"pageid": 1008172,
"revid": 172818453,
"parentid": 172818008,
"ns": 0,
"title": "Kai Jan Krainer",
"timestamp": "2018-01-11T15:19:46Z",
"comment": "Änderung 172818008 von [[Special:Contribs/Nolispanmo|Nolispanmo]] rückgängig gemacht;",
"sizediff": -1249
},
{
"userid": 0,
"user": "161.110.189.186",
"pageid": 1008172,
"revid": 172817952,
"parentid": 172817880,
"ns": 0,
"title": "Kai Jan Krainer",
"timestamp": "2018-01-11T15:02:34Z",
"comment": "Es gibt keine Belege, ja nicht einmal Hinweise für das Beschaffen irgendwelcher Steuerakte. Außerdem erscheint der Absatz keine Relevanz für eine kurze Personenbeschreibung des Herrn Krainer zu besitzen.",
"sizediff": -1138
},
{
"userid": 0,
"user": "161.110.189.186",
"pageid": 1008172,
"revid": 172817880,
"parentid": 172817844,
"ns": 0,
"title": "Kai Jan Krainer",
"timestamp": "2018-01-11T15:00:01Z",
"comment": "Er ist bereits seit mehr als zehn Jahren nicht mehr Vorstandsmitglied der VHS-Landstraße. Und Mitarbeiter der Volkshilfe Landstraße war er nie.",
"sizediff": -101
},
{
"userid": 0,
"user": "161.110.189.186",
"pageid": 1008172,
"revid": 172817844,
"parentid": 172817766,
"ns": 0,
"title": "Kai Jan Krainer",
"timestamp": "2018-01-11T14:58:12Z",
"comment": "Der Hypo-Untersuchungsausschuss ist vorbei. Zusätzlich Bankenuntersuchungsausschuss ergänzt.",
"sizediff": 134
}
]
}
}
@@ -0,0 +1,23 @@
{
"url": "https://de.wikipedia.org/w/api.php",
"kind": "contribs",
"method": "GET",
"params": {
"list": "usercontribs",
"ucend": "2016-10-28T00:00:00Z",
"action": "query",
"format": "json",
"ucprop": "ids|title|timestamp|comment|sizediff",
"uclimit": 500,
"uciprange": "161.110.0.0/16",
"formatversion": 2
},
"json": null,
"meta": {
"org": "nationalrat",
"wiki": "de.wikipedia.org",
"label": "Parlament (Parlamentsdirektion)"
},
"content_type": "application/json; charset=utf-8",
"body_file": "contribs.json"
}