id: https://hel.fi/models/helsinki/helsinki/views/kvhnixtbe5dex2wt2kx3i37dzw6yzsxt
name: helsinki
title: Helsinki city context
description: "What the Helsinki demonstration space carries side by side (DM-01, DM-09): the events of the city's Linked Events register, the HSL city bike docking stations, the HSL buses of four trunk lines, HSL's stops, stations, lines and their shapes, the city's news, Fintraffic's road weather stations and its traffic alerts, FMI's air quality stations, and the city's open registers: its services (libraries, health stations, swimming halls, beaches, schools), the beach water sensors, parking areas and zones, the permits for digging, traffic arrangements and events on public areas, and its district division. One model, one space, four endpoints that each publish a slice of it. The IRIs are Smart Data Models' and ETSI's, cited rather than minted, so a reader who knows those vocabularies reads the same terms here (DM-04, DM-16)."
license: https://joinedcontext.com/licenses/cc-by-4.0
prefixes:
  geojson: https://purl.org/geojson/vocab#
  jc: https://joinedcontext.com/models/
  schema: http://schema.org/
  sdm: https://smartdatamodels.org/
default_prefix: sdm
default_range: string
imports:
  - linkml:types
classes:
  TrafficFlowObserved:
    name: TrafficFlowObserved
    class_uri: https://uri.etsi.org/ngsi-ld/default-context/TrafficFlowObserved
    exact_mappings:
      - sdm:TrafficFlowObserved
    slots:
      - location
      - name
      - dateObserved
      - dateObservedFrom
      - dateObservedTo
      - intensity
      - averageVehicleSpeed
      - vehicleType
      - trafficDirection
      - dataProvider
      - source
    slot_usage:
      dateObserved:
        name: dateObserved
        slot_uri: sdm:dateObserved
        range: datetime
        required: true
        annotations:
          label:
            tag: label
            value:
              sk: Čas merania
              cs: Čas měření
              en: Observed at
              de: Messzeitpunkt
          ngsi_ld_kind: Property
          upstream_source: https://github.com/smart-data-models/dataModel.Weather
        description: The end of the counted day, the same instant as dateObservedTo.
      vehicleType:
        name: vehicleType
        slot_uri: sdm:vehicleType
        range: CountedVehicleType
        annotations:
          label:
            tag: label
            value:
              sk: Typ vozidla
              cs: Typ vozidla
              en: Vehicle type
              de: Fahrzeugtyp
          ngsi_ld_kind: Property
          upstream_source: https://github.com/smart-data-models/dataModel.Transportation
        description: The one kind of vehicle the observation counts, in the Smart Data Model's words; absent when the counter sums every class of motor vehicle.
    annotations:
      label:
        tag: label
        value:
          sk: Sčítanie dopravy
          cs: Sčítání dopravy
          en: Traffic count
          de: Verkehrszählung
      upstream_source: https://github.com/smart-data-models/dataModel.Transportation
    description: "One day of one of the city's traffic counters in one direction: the cyclists an Eco-Counter station counted, or the motor vehicles and their mean speed at one of the city's induction loop (LAM) stations, from the city's traffic measurement API. The counter's name and place ride on the observation; the history of the days is the entity's temporal history."
slots:
  averageVehicleSpeed:
    name: averageVehicleSpeed
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/averageVehicleSpeed
    exact_mappings:
      - sdm:averageVehicleSpeed
    range: float
    unit:
      ucum_code: km/h
    annotations:
      label:
        tag: label
        value:
          sk: Priemerná rýchlosť
          cs: Průměrná rychlost
          en: Average speed
          de: Durchschnittsgeschwindigkeit
      ngsi_ld_kind: Property
      upstream_source: https://github.com/smart-data-models/dataModel.Transportation
    description: The mean speed of the vehicles the counter measured in the period, in km/h.
  dataProvider:
    name: dataProvider
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/dataProvider
    exact_mappings:
      - sdm:dataProvider
    range: string
    annotations:
      label:
        tag: label
        value:
          sk: Poskytovateľ
          cs: Poskytovatel
          fi: Tarjoaja
          en: Provider
          de: Anbieter
      ngsi_ld_kind: Property
      upstream_source: https://github.com/smart-data-models/data-models
    description: Who publishes the data the entity was read from, as an application credits it beside the licence (CC BY 4.0 for every feed of this space).
  dateObserved:
    name: dateObserved
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/dateObserved
    exact_mappings:
      - sdm:dateObserved
    range: datetime
    annotations:
      label:
        tag: label
        value:
          sk: Čas merania
          cs: Čas měření
          en: Observed at
          de: Messzeitpunkt
      ngsi_ld_kind: Property
      upstream_source: https://github.com/smart-data-models/dataModel.Weather
    description: When the readings were taken.
  dateObservedFrom:
    name: dateObservedFrom
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/dateObservedFrom
    exact_mappings:
      - sdm:dateObservedFrom
    range: datetime
    annotations:
      label:
        tag: label
        value:
          sk: Obdobie od
          cs: Období od
          en: Period from
          de: Zeitraum ab
      ngsi_ld_kind: Property
      upstream_source: https://github.com/smart-data-models/dataModel.Transportation
    description: The start of the period the observation counts, the local midnight that opens the day.
  dateObservedTo:
    name: dateObservedTo
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/dateObservedTo
    exact_mappings:
      - sdm:dateObservedTo
    range: datetime
    annotations:
      label:
        tag: label
        value:
          sk: Obdobie do
          cs: Období do
          en: Period to
          de: Zeitraum bis
      ngsi_ld_kind: Property
      upstream_source: https://github.com/smart-data-models/dataModel.Transportation
    description: The end of the period the observation counts, the local midnight that closes the day.
  intensity:
    name: intensity
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/intensity
    exact_mappings:
      - sdm:intensity
    range: integer
    unit:
      ucum_code: /d
    annotations:
      label:
        tag: label
        value:
          sk: Intenzita (počet za deň)
          cs: Intenzita (počet za den)
          en: Intensity (per day)
          de: Verkehrsstärke (pro Tag)
      ngsi_ld_kind: Property
      upstream_source: https://github.com/smart-data-models/dataModel.Transportation
    description: How many vehicles, or bicycles, the counter detected in the day, in one direction.
  location:
    name: location
    slot_uri: https://uri.etsi.org/ngsi-ld/location
    exact_mappings:
      - geojson:geometry
    range: string
    annotations:
      ngsi_ld_kind: GeoProperty
      upstream_source: ETSI NGSI-LD core context v1.8
    description: Where the entity is, as GeoJSON geometry.
  name:
    name: name
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/name
    exact_mappings:
      - schema:name
    range: string
    annotations:
      label:
        tag: label
        value:
          sk: Názov
          cs: Název
          en: Name
          de: Name
      ngsi_ld_kind: Property
      upstream_source: https://schema.org/name
    description: "The name, one string in the source's language (Smart Data Models `name`)."
  source:
    name: source
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/source
    exact_mappings:
      - sdm:source
    range: uri
    annotations:
      label:
        tag: label
        value:
          sk: Zdroj
          cs: Zdroj
          fi: Lähde
          en: Source
          de: Quelle
      ngsi_ld_kind: Property
      upstream_source: https://github.com/smart-data-models/data-models
    description: The open-data service the entity was read from.
  trafficDirection:
    name: trafficDirection
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/trafficDirection
    exact_mappings:
      - jc:trafficDirection
    range: TrafficDirection
    annotations:
      label:
        tag: label
        value:
          sk: Smer dopravy
          cs: Směr dopravy
          en: Traffic direction
          de: Verkehrsrichtung
      ngsi_ld_kind: Property
    description: The compass direction, or into and out of the centre, the counted traffic travels, as the city's counter names it (Pohjoiseen is north). Smart Data Models' laneDirection needs a road segment to mean anything, which the counters do not name. Absent when the counter sums both directions.
  vehicleType:
    name: vehicleType
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/vehicleType
    exact_mappings:
      - sdm:vehicleType
    range: string
    annotations:
      label:
        tag: label
        value:
          sk: Typ vozidla
          cs: Typ vozidla
          en: Vehicle type
          de: Fahrzeugtyp
      ngsi_ld_kind: Property
      upstream_source: https://github.com/smart-data-models/dataModel.Transportation
    description: The Smart Data Models kind of vehicle - bus, tram, passengerVessel for a ferry, other for metro and train; transportMode names HSL's mode.
enums:
  CountedVehicleType:
    name: CountedVehicleType
    description: The kinds of vehicle a city counter tells apart, a subset of Smart Data Models' vehicleType.
    permissible_values:
      bicycle:
        text: bicycle
        description: A bicycle, as an Eco-Counter station or the machine vision pilot counts it.
      bus:
        text: bus
        description: A bus, as the machine vision pilot counts it.
      car:
        text: car
        description: A car, as the machine vision pilot counts it.
      lorry:
        text: lorry
        description: A truck or lorry, as the machine vision pilot counts it.
      motorcycle:
        text: motorcycle
        description: A motorcycle, as the machine vision pilot counts it.
      tram:
        text: tram
        description: A tram, as the machine vision pilot counts it.
  TrafficDirection:
    name: TrafficDirection
    description: The direction a city counter names, in English.
    permissible_values:
      east:
        text: east
        description: Itään.
      inbound:
        text: inbound
        description: IN, towards the centre.
      north:
        text: north
        description: Pohjoiseen.
      outbound:
        text: outbound
        description: OUT, away from the centre.
      south:
        text: south
        description: Etelään.
      west:
        text: west
        description: Länteen.
