Skip to content

Add mapping: 100227#21

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

Add mapping: 100227#21
osaeedi wants to merge 3 commits into
mainfrom
mapping/100227

Conversation

@osaeedi

@osaeedi osaeedi commented May 28, 2026

Copy link
Copy Markdown
Collaborator

RML Mapping: Witterung

Dieser Datensatz zeigt für die Messstation Basel-Binningen am Observatorium St. Margarethen für jeden Monat die in Bezug auf Temperatur, Niederschlag und Bewölkung registrierten Witterungserscheinunge...

Source Information

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

Mapping Structure

  • The temporal columns datum, jahr, and monat were mapped as dimensions to allow time-based slicing and aggregation. jahr and monat represent a "Zeit" (time) hierarchy.
  • A static spatial dimension raum was mapped from context metadata (station location: Basel-Binningen am Observatorium St. Margarethen), as the dataset covers a single station.
  • All other columns (e.g., frosttag, eistag, nebel, regen1/2/3, etc.) were mapped as cube measures, each representing the number of days with a specific weather event in the given month.
  • No columns were dropped; all CSV fields are accounted for in the mapping.
  • Code/term resources were generated for the spatial and categorical dimensions (raum, monat) to support cube.link reference structures.

Dimensions:

  • datum (temporal) - granularity: month
  • jahr (temporal) - granularity: year - hierarchy: Zeit
  • monat (temporal) - granularity: month - hierarchy: Zeit
  • raum (spatial)

Measures:

  • frosttag (days)
  • eistag (days)
  • sommertag (days)
  • hitzetag (days)
  • sonnenlos (days)
  • regen1 (days)
  • regen2 (days)
  • regen3 (days)
  • schneefall (days)
  • schneedecke (days)
  • reif (days)
  • nebel (days)
  • gewitter1 (days)
  • gewitter2 (days)
  • hagel (days)
  • hell (days)
  • trueb (days)
  • wind1 (days)
  • wind2 (days)
  • heiztage (days)

CSV Preview

datum jahr monat frosttag eistag sommertag hitzetag sonnenlos regen1 regen2 regen3 schneefall schneedecke reif nebel gewitter1 gewitter2 hagel hell trueb wind1 wind2 heiztage
2026-04 2026 April 0 0 0 0 2 8 6 5 0 0 4 0 1 1.0 0 7 9 1 0 11.0
2026-02 2026 Februar 4 0 0 0 5 18 14 12 0 0 4 4 0 0.0 0 3 17 6 0 26.0
2026-01 2026 Januar 17 1 0 0 8 10 8 5 5 1 12 5 0 0.0 0 1 13 2 0 31.0
2025-11 2025 November 4 1 0 0 7 11 10 10 0 0 3 1 0 0.0 0 0 16 0 0 28.0
2025-10 2025 Oktober 0 0 0 0 3 13 12 11 0 0 1 6 0 0.0 0 1 18 5 1 21.0
2025-07 2025 Juli 0 0 17 4 1 15 14 14 0 0 0 0 9 5.0 0 3 11 3 0 0.0
2025-04 2025 April 0 0 1 0 2 9 9 9 0 0 4 1 1 1.0 0 7 10 1 0 18.0
2025-03 2025 März 3 0 0 0 2 10 9 6 0 0 8 0 1 0.0 0 6 11 0 0 29.0
2024-11 2024 November 6 0 0 0 9 11 9 6 2 4 3 7 0 0.0 0 1 11 2 0 30.0
2024-09 2024 September 0 0 6 2 5 18 14 12 0 0 0 0 1 1.0 0 1 15 1 0 7.0
2024-03 2024 März 0 0 0 0 7 18 17 15 0 0 1 1 0 0.0 0 0 16 3 0 28.0
2024-02 2024 Februar 0 0 0 0 9 17 14 9 0 0 3 0 0 0.0 0 0 19 2 1 29.0
2023-10 2023 Oktober 0 0 10 0 5 12 12 11 0 0 1 2 0 0.0 0 3 12 5 0 9.0
2023-09 2023 September 0 0 21 6 0 6 6 6 0 0 0 0 3 1.0 0 9 5 1 0 8.0
2023-05 2023 Mai 0 0 8 0 1 12 11 9 0 0 0 0 5 2.0 0 5 17 1 0 4.0
2023-03 2023 März 6 0 0 0 3 16 13 12 2 0 5 0 3 1.0 0 1 17 10 0 23.0
2022-09 2022 September 0 0 7 0 2 19 18 16 0 0 0 3 5 3.0 1 2 14 3 0 8.0
2022-05 2022 Mai 0 0 9 2 2 11 8 7 0 0 0 2 7 4.0 0 1 9 2 0 3.0
2022-02 2022 Februar 6 0 0 0 4 16 12 10 1 0 7 0 0 0.0 0 4 14 9 4 28.0
2021-07 2021 Juli 0 0 14 0 1 18 18 17 0 0 0 0 8 7.0 1 3 16 1 0 0.0

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/100227/> .
@prefix ex-code: <https://ld.bs.ch/code/> .
@prefix ex-obs: <https://ld.bs.ch/100227/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:2026_April, ex-obs:2026_Februar, ex-obs:2026_Januar .

ex-obs:2026_April a cube:Observation;
  ex-property:RAUM ex-code:BS_BINNINGEN;
  ex-property:ZEIT "2026-04"^^xsd:gYearMonth;
  ex-property:eistag 0;
  ex-property:frosttag 0;
  ex-property:gewitter1 1;
  ex-property:gewitter2 1.0;
  ex-property:hagel 0;
  ex-property:heiztage 11.0;
  ex-property:hell 7;
  ex-property:hitzetag 0;
  ex-property:jahr "2026"^^xsd:gYear;
  ex-property:monat "April";
  ex-property:nebel 0;
  ex-property:regen1 8;
  ex-property:regen2 6;
  ex-property:regen3 5;
  ex-property:reif 4;
  ex-property:schneedecke 0;
  ex-property:schneefall 0;
  ex-property:sommertag 0;
  ex-property:sonnenlos 2;
  ex-property:trueb 9;
  ex-property:wind1 1;
  ex-property:wind2 0 .

ex-obs:2026_Februar a cube:Observation;
  ex-property:RAUM ex-code:BS_BINNINGEN;
  ex-property:ZEIT "2026-02"^^xsd:gYearMonth;
  ex-property:eistag 0;
  ex-property:frosttag 4;
  ex-property:gewitter1 0;
  ex-property:gewitter2 0.0;
  ex-property:hagel 0;
  ex-property:heiztage 26.0;
  ex-property:hell 3;
  ex-property:hitzetag 0;
  ex-
... (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