# Raumbezug in DCAT-AP.de

**URL:** <https://discourse.opencode.de/t/raumbezug-in-dcat-ap-de/4299>\
**Category:** Open Data\
**Tags:** dcat\
**Created:** [13. August 2025 um 11:04 UTC](https://discourse.opencode.de/t/raumbezug-in-dcat-ap-de/4299 "2025-08-13T11:04:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![oc000041099719](https://discourse.opencode.de/user_avatar/discourse.opencode.de/oc000041099719/32/1103_2.png) [@oc000041099719](https://discourse.opencode.de/u/oc000041099719)\
**Post date:** [13. August 2025 um 11:04 UTC](https://discourse.opencode.de/t/raumbezug-in-dcat-ap-de/4299/1 "2025-08-13T11:04:49Z")

</div>

Beim Raumbezug scheint es noch ein paar Widersprüche in der [DCAT-AP.de](http://DCAT-AP.de) Spezifikation zu geben ([Issue im DCAT-AP.de Repo von mir dazu](https://github.com/GovDataOfficial/ckanext-dcatde/issues/36)), was man auch daran merkt, wie unterschiedlich diese Angaben in der Praxis sind.

Hier sind noch ein paar weitere Zahlen und SPARQL-Abfragen zu dem Thema. Zunächst habe ich mir angesehen, wie oft welches Vokabular für `dct:spatial` überhaupt verwendet wird:

| Datensätze | Anzahl |
| --- | --- |
| gesamt | 159.328 |
| mit spatial | 128.387 |
| [DCAT-AP.de](http://DCAT-AP.de) Vokabular | 25.784 |
| `dct_Location` von [geobasis-bb.de](http://geobasis-bb.de) | 9.328 |
| [GeoNames](https://geonames.org) | 2.074 |
| [LOR Berlin](https://berlinonline.github.io/lod-berlin-lor/) | 1.393 |
| `dct_Location` von \*.brandenburg.de | 322 |
| EU-Vokabular | 183 |
| `dct_Location` von [berlin.de](http://berlin.de) | 26 |
| [Geschichtliches Ortsverzeichnis](https://gov.genealogy.net) | 10 |
| `dct_Location` von [digital-agentur.de](http://digital-agentur.de) | 6 |
| sonstiges Vokabular | 10 |

Hier ist meine SPARQL-Abfrage zum finden der sonstigen URIs bei `dct:spatial`:

```sparql
PREFIX dct: <http://purl.org/dc/terms/>
PREFIX dcatde: <http://dcat-ap.de/def/dcatde/>
PREFIX dcat: <http://www.w3.org/ns/dcat#>
SELECT * WHERE {
  ?dataset a dcat:Dataset .
  ?dataset dct:spatial ?spatial .
  FILTER(isURI(?spatial))
  FILTER(!STRSTARTS(STR(?spatial), "http://dcat-ap.de/def/politicalGeocoding/"))
  FILTER(!STRSTARTS(STR(?spatial), "http://www.geonames.org"))
  FILTER(!STRSTARTS(STR(?spatial), "http://sws.geonames.org"))
  FILTER(!STRSTARTS(STR(?spatial), "https://www.geonames.org"))
  FILTER(!STRSTARTS(STR(?spatial), "http://publications.europa.eu/resource/authority/"))
  FILTER(!STRSTARTS(STR(?spatial), "http://gov.genealogy.net/"))
  FILTER(!STRSTARTS(STR(?spatial), "https://berlinonline.github.io/lod-berlin-lor/"))
  FILTER(!STRSTARTS(STR(?spatial), "https://geobasis-bb.de#"))
  FILTER(!REGEX(STR(?spatial), "brandenburg.de/?#dct_Location"))
  FILTER(!REGEX(STR(?spatial), "berlin.de#dct_Location"))
  FILTER(!REGEX(STR(?spatial), "digital-agentur.de#dct_Location"))
} LIMIT 100

```
