Skip to content

Add mapping: dbu-afu-18 - #32

Open
iamflorianwahl wants to merge 3 commits into
mainfrom
mapping/dbu-afu-18
Open

Add mapping: dbu-afu-18#32
iamflorianwahl wants to merge 3 commits into
mainfrom
mapping/dbu-afu-18

Conversation

@iamflorianwahl

Copy link
Copy Markdown
Collaborator

RML Mapping: Luftqualitätsmessungen Ostluft Thurgau – Stundenwerte

Die hier veröffentlichten Datensätze für die Messstationen Weinfelden und Konstanz stammen aus dem automatischen Messnetz von Ostluft, das kontinuierlich verschiedene Luftschadstoffe (z.B. NO₂, PM₁₀, ...

Source Information

  • CSV Source: (not provided)
  • Context/Metadata Files: dcat.ttl, fields.json
  • Base URI: https://ld.tg.ch

Mapping Structure

  • The columns startzeit and endzeit are mapped as temporal dimensions (timestamp of measurement start/end), while messstelle (station name, spatial), messstationid (station ID, categorical), and indikator (indicator/pollutant, categorical) are mapped as key dimensions.
  • The messwert column is mapped as the measure, representing the observed value for each dimension combination.
  • No columns were dropped; all provided CSV columns are captured as either dimensions or measures based on their description and usage.
  • Each unique combination of temporal, spatial, station, and indicator dimensions forms a single observation; there is no aggregation or hierarchy defined in this mapping, as each row is an atomic observation.
  • Code (DefinedTerm) resources are generated for each key dimension value to ensure data normalisation and allow reference via IRIs.

Dimensions:

  • startzeit (temporal) - granularity: hour
  • endzeit (temporal) - granularity: hour
  • messstelle (spatial)
  • messstationid (categorical)
  • indikator (categorical)

Measures:

  • messwert

CSV Preview

startzeit endzeit messstelle messwert messstationid indikator
2025-09-17T13:00:00+00:00 2025-09-17T14:00:00+00:00 Konstanz, Wallgutstrasse 3.98 9fc10577-4551-49aa-9ebc-2a882720c0ac Feinstaub (PM2.5)
2025-09-17T22:00:00+00:00 2025-09-17T23:00:00+00:00 Konstanz, Wallgutstrasse 5.44 9fc10577-4551-49aa-9ebc-2a882720c0ac Feinstaub (PM2.5)
2025-09-17T23:00:00+00:00 2025-09-18T00:00:00+00:00 Konstanz, Wallgutstrasse 5.0 9fc10577-4551-49aa-9ebc-2a882720c0ac Feinstaub (PM2.5)
2025-09-18T00:00:00+00:00 2025-09-18T01:00:00+00:00 Konstanz, Wallgutstrasse 7.75 9fc10577-4551-49aa-9ebc-2a882720c0ac Feinstaub PM10
2025-09-18T06:00:00+00:00 2025-09-18T07:00:00+00:00 Konstanz, Wallgutstrasse 12.61 9fc10577-4551-49aa-9ebc-2a882720c0ac Feinstaub PM10
2025-09-18T09:00:00+00:00 2025-09-18T10:00:00+00:00 Konstanz, Wallgutstrasse 11.23 9fc10577-4551-49aa-9ebc-2a882720c0ac Feinstaub PM10
2025-09-18T11:00:00+00:00 2025-09-18T12:00:00+00:00 Konstanz, Wallgutstrasse 13.9 9fc10577-4551-49aa-9ebc-2a882720c0ac Feinstaub PM10
2025-09-18T12:00:00+00:00 2025-09-18T13:00:00+00:00 Konstanz, Wallgutstrasse 17.81 9fc10577-4551-49aa-9ebc-2a882720c0ac Feinstaub PM10
2025-09-18T16:00:00+00:00 2025-09-18T17:00:00+00:00 Konstanz, Wallgutstrasse 12.18 9fc10577-4551-49aa-9ebc-2a882720c0ac Feinstaub PM10
2025-09-18T18:00:00+00:00 2025-09-18T19:00:00+00:00 Konstanz, Wallgutstrasse 10.18 9fc10577-4551-49aa-9ebc-2a882720c0ac Feinstaub PM10
2025-09-18T22:00:00+00:00 2025-09-18T23:00:00+00:00 Konstanz, Wallgutstrasse 12.6 9fc10577-4551-49aa-9ebc-2a882720c0ac Feinstaub PM10
2025-09-18T23:00:00+00:00 2025-09-19T00:00:00+00:00 Konstanz, Wallgutstrasse 10.96 9fc10577-4551-49aa-9ebc-2a882720c0ac Feinstaub PM10
2025-09-19T00:00:00+00:00 2025-09-19T01:00:00+00:00 Konstanz, Wallgutstrasse 9.44 9fc10577-4551-49aa-9ebc-2a882720c0ac Feinstaub PM10
2025-09-19T04:00:00+00:00 2025-09-19T05:00:00+00:00 Konstanz, Wallgutstrasse 8.9 9fc10577-4551-49aa-9ebc-2a882720c0ac Feinstaub PM10
2025-09-19T11:00:00+00:00 2025-09-19T12:00:00+00:00 Konstanz, Wallgutstrasse 18.88 9fc10577-4551-49aa-9ebc-2a882720c0ac Feinstaub PM10
2025-09-19T18:00:00+00:00 2025-09-19T19:00:00+00:00 Konstanz, Wallgutstrasse 14.16 9fc10577-4551-49aa-9ebc-2a882720c0ac Feinstaub PM10
2025-09-19T19:00:00+00:00 2025-09-19T20:00:00+00:00 Konstanz, Wallgutstrasse 15.7 9fc10577-4551-49aa-9ebc-2a882720c0ac Feinstaub PM10
2025-09-19T20:00:00+00:00 2025-09-19T21:00:00+00:00 Konstanz, Wallgutstrasse 16.72 9fc10577-4551-49aa-9ebc-2a882720c0ac Feinstaub PM10
2025-09-19T21:00:00+00:00 2025-09-19T22:00:00+00:00 Konstanz, Wallgutstrasse 20.75 9fc10577-4551-49aa-9ebc-2a882720c0ac Feinstaub PM10
2025-09-18T00:00:00+00:00 2025-09-18T01:00:00+00:00 Konstanz, Wallgutstrasse 11.31 9fc10577-4551-49aa-9ebc-2a882720c0ac Stickstoffdioxid

RDF Preview

@prefix : <http://mapping.example.com/> .
@prefix csvw: <http://www.w3.org/ns/csvw#> .
@prefix cube: <https://cube.link/> .
@prefix d2rq: <http://www.wiwiss.fu-berlin.de/suhl/bizer/D2RQ/0.1#> .
@prefix dc: <http://purl.org/dc/terms/> .
@prefix ex: <https://ld.tg.ch/dbu-afu-18/> .
@prefix ex-code: <https://ld.tg.ch/code/> .
@prefix ex-obs: <https://ld.tg.ch/dbu-afu-18/observation/> .
@prefix ex-property: <https://ld.tg.ch/property/> .
@prefix fnml: <http://semweb.mmlab.be/ns/fnml#> .
@prefix fno: <https://w3id.org/function/ontology#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix rml: <http://w3id.org/rml/> .
@prefix schema: <http://schema.org/> .
@prefix void: <http://rdfs.org/ns/void#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

ex-code:9fc10577-4551-49aa-9ebc-2a882720c0ac a schema:DefinedTerm;
  schema:name "9fc10577-4551-49aa-9ebc-2a882720c0ac" .

ex-code:Feinstaub%20%28PM2.5%29 a schema:DefinedTerm;
  schema:name "Feinstaub (PM2.5)" .

ex-code:Konstanz%2C%20Wallgutstrasse a schema:DefinedTerm;
  schema:name "Konstanz, Wallgutstrasse" .

ex:observation-set cube:observation ex-obs:2025-09-17T13%3A00%3A00%2B00%3A00_9fc10577-4551-49aa-9ebc-2a882720c0ac_Feinstaub%20%28PM2.5%29,
    ex-obs:2025-09-17T22%3A00%3A00%2B00%3A00_9fc10577-4551-49aa-9ebc-2a882720c0ac_Feinstaub%20%28PM2.5%29,
    ex-obs:2025-09-17T23%3A00%3A00%2B00%3A00_9fc10577-4551-49aa-9ebc-2a882720c0ac_Feinstaub%20%28PM2.5%29 .

ex-obs:2025-09-17T13%3A00%3A00%2B00%3A00_9fc10577-4551-49aa-9ebc-2a882720c0ac_Feinstaub%20%28PM2.5%29
  a cube:Observation;
  ex-property:INDIKATOR ex-code:Feinstaub%20%28PM2.5%29;
  ex-property:MESSSTATION ex-code:9fc10577-4551-49aa-9ebc-2a882720c0ac;
  ex-property:RAUM ex-code:Konstanz%2C%20Wallgutstrasse;
  ex-property:ZEIT_ANFANG "2025-09-17T13:00:00+00:00"^^xsd:dateTime;
  ex-property:ZEIT_ENDE "2025-09-17T14:00:00+00:00"^^xsd:dateTime;
  ex-pr
... (truncated)

Generated by OGD to LOD

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant