Skip to content

Add mapping: 100178#16

Open
osaeedi wants to merge 3 commits into
mainfrom
mapping/100178
Open

Add mapping: 100178#16
osaeedi wants to merge 3 commits into
mainfrom
mapping/100178

Conversation

@osaeedi

@osaeedi osaeedi commented May 28, 2026

Copy link
Copy Markdown
Collaborator

RML Mapping: Smarte Strasse: Luftqualität Vergleichsmessungen

Das Lufthygieneamt beider Basel (LHA) testet im Projekt «Smarte Strasse» kosteneffiziente Mikrosensoren auf ihre Genauigkeit und Zuverlässigkeit. Der installierte Sensor vom Typ «Nubo» der Firma Sensi...

Source Information

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

Mapping Structure

  • Dimensions: The primary temporal dimension is timestamp (xsd:dateTime). Station and spatial coverage (Basel-Stadt, Schweiz) are modeled as categorical and spatial dimensions, respectively; station values are normalized and linked to code resources.
  • Measures: All pollutant concentration columns (*_no2, *_o3, *_pm25 for each station) are mapped as separate measures with unit µg/m3.
  • Skipped columns: timestamp_text and anfangszeit are omitted as they are redundant alternative date encodings to the main timestamp.
  • Hierarchy/structure: Station is modeled as a dimension (with schema:DefinedTerm code resources); spatial coverage is static from context, not a CSV column. No advanced hierarchies or aggregations; one observation per measure per row.
  • ObservationSet linkage: All generated observations are linked to a central cube:ObservationSet for consistent Data Cube conformance.

Dimensions:

  • timestamp (temporal) - granularity: minute
  • station (categorical) - hierarchy: station_location
  • spatial_coverage (spatial)

Measures:

  • a2hard_no2 (µg/m3)
  • a2hard_o3 (µg/m3)
  • a2hard_pm25 (µg/m3)
  • feldbergstr2_no2 (µg/m3)
  • feldbergstr2_o3 (µg/m3)
  • feldbergstr2_pm25 (µg/m3)
  • stjohann2_no2 (µg/m3)
  • stjohann2_o3 (µg/m3)
  • stjohann2_pm25 (µg/m3)

CSV Preview

timestamp a2hard_no2 a2hard_o3 a2hard_pm25 feldbergstr2_no2 feldbergstr2_o3 feldbergstr2_pm25 stjohann2_no2 stjohann2_o3 stjohann2_pm25 timestamp_text anfangszeit
2022-11-17T23:30:00+00:00 3.6 47.5 4.3 15.3 34.3 2.7 17.4 34.5 2.6 2022-11-18T00:30:00+0100 18.11.2022 00:30:00
2022-11-17T18:30:00+00:00 50.1 51.7 4.9 43.4 31.9 2.7 32.1 36.1 1.5 2022-11-17T19:30:00+0100 17.11.2022 19:30:00
2022-11-17T19:30:00+00:00 43.6 35.9 1.9 10.5 57.3 2.0 13.4 52.5 1.0 2022-11-17T20:30:00+0100 17.11.2022 20:30:00
2022-11-17T22:00:00+00:00 24.1 27.3 3.2 33.3 23.3 2.5 36.7 19.4 1.9 2022-11-17T23:00:00+0100 17.11.2022 23:00:00
2022-11-18T02:30:00+00:00 0.8 72.2 0.6 0.0 61.2 0.6 0.8 71.8 0.4 2022-11-18T03:30:00+0100 18.11.2022 03:30:00
2022-11-18T23:00:00+00:00 4.0 35.5 1.0 14.3 37.3 3.2 18.2 35.9 1.7 2022-11-19T00:00:00+0100 19.11.2022 00:00:00
2022-11-21T07:30:00+00:00 41.5 31.7 2.0 102.1 56.3 4.1 79.6 43.1 3.1 2022-11-21T08:30:00+0100 21.11.2022 08:30:00
2022-11-21T08:00:00+00:00 55.1 39.5 2.5 65.8 46.1 5.0 36.3 24.3 3.4 2022-11-21T09:00:00+0100 21.11.2022 09:00:00
2022-11-23T06:30:00+00:00 29.3 12.6 3.6 40.5 23.9 4.9 67.1 34.5 4.8 2022-11-23T07:30:00+0100 23.11.2022 07:30:00
2022-11-24T01:00:00+00:00 4.8 28.3 3.6 0.0 45.7 3.9 11.3 28.5 3.6 2022-11-24T02:00:00+0100 24.11.2022 02:00:00
2022-11-21T22:30:00+00:00 34.2 20.3 5.6 23.3 25.1 3.0 29.6 18.2 2.6 2022-11-21T23:30:00+0100 21.11.2022 23:30:00
2022-11-21T23:00:00+00:00 26.6 17.0 5.3 29.6 13.6 3.3 30.0 13.0 3.0 2022-11-22T00:00:00+0100 22.11.2022 00:00:00
2022-11-21T22:00:00+00:00 34.6 29.9 3.7 22.2 29.9 2.4 24.5 29.5 2.0 2022-11-21T23:00:00+0100 21.11.2022 23:00:00
2022-11-21T16:30:00+00:00 71.7 44.3 1.9 57.0 44.7 4.1 58.7 45.3 2.2 2022-11-21T17:30:00+0100 21.11.2022 17:30:00
2022-11-21T17:00:00+00:00 53.0 17.6 2.3 50.9 29.3 3.6 56.4 37.7 2.4 2022-11-21T18:00:00+0100 21.11.2022 18:00:00
2022-11-22T03:30:00+00:00 12.6 43.9 4.0 0.0 48.5 3.7 0.8 52.5 3.5 2022-11-22T04:30:00+0100 22.11.2022 04:30:00
2022-11-22T15:30:00+00:00 103.5 80.0 2.1 83.4 54.5 4.9 17.6 46.1 1.8 2022-11-22T16:30:00+0100 22.11.2022 16:30:00
2022-11-22T19:00:00+00:00 58.7 39.1 1.8 45.3 36.9 3.5 15.9 41.5 2.2 2022-11-22T20:00:00+0100 22.11.2022 20:00:00
2022-11-22T19:30:00+00:00 60.0 26.5 1.7 21.0 34.5 4.4 17.4 36.5 2.2 2022-11-22T20:30:00+0100 22.11.2022 20:30:00
2022-11-23T00:00:00+00:00 10.9 23.1 5.6 51.8 34.5 6.8 43.8 23.1 4.0 2022-11-23T01:00:00+0100 23.11.2022 01:00:00

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.bs.ch/100178/> .
@prefix ex-code: <https://ld.bs.ch/code/> .
@prefix ex-obs: <https://ld.bs.ch/100178/observation/> .
@prefix ex-property: <https://ld.bs.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:observation-set cube:observation ex-obs:2022-11-17T18%3A30%3A00%2B00%3A00_a2hard_no2,
    ex-obs:2022-11-17T18%3A30%3A00%2B00%3A00_a2hard_o3, ex-obs:2022-11-17T18%3A30%3A00%2B00%3A00_a2hard_pm25,
    ex-obs:2022-11-17T18%3A30%3A00%2B00%3A00_feldbergstr2_no2, ex-obs:2022-11-17T18%3A30%3A00%2B00%3A00_feldbergstr2_o3,
    ex-obs:2022-11-17T18%3A30%3A00%2B00%3A00_feldbergstr2_pm25, ex-obs:2022-11-17T18%3A30%3A00%2B00%3A00_stjohann2_no2,
    ex-obs:2022-11-17T18%3A30%3A00%2B00%3A00_stjohann2_o3, ex-obs:2022-11-17T18%3A30%3A00%2B00%3A00_stjohann2_pm25,
    ex-obs:2022-11-17T19%3A30%3A00%2B00%3A00_a2hard_no2, ex-obs:2022-11-17T19%3A30%3A00%2B00%3A00_a2hard_o3,
    ex-obs:2022-11-17T19%3A30%3A00%2B00%3A00_a2hard_pm25, ex-obs:2022-11-17T19%3A30%3A00%2B00%3A00_feldbergstr2_no2,
    ex-obs:2022-11-17T19%3A30%3A00%2B00%3A00_feldbergstr2_o3, ex-obs:2022-11-17T19%3A30%3A00%2B00%3A00_feldbergstr2_pm25,
    ex-obs:2022-11-17T19%3A30%3A00%2B00%3A00_stjohann2_no2, ex-obs:2022-11-17T19%3A30%3A00%2B00%3A00_stjohann2_o3,
    ex-obs:2022-11-17T19%3A30%3A00%2B00%3A00_stjohann2_pm25, ex-obs:2022-11-17T23%3A30%3A00%2B00%3A00_a2hard_no2,

... (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