id: https://joinedcontext.com/models/bratislava/bratislava/views/ajzj3wxn6infhs6ykwjqppxkr4vwpmh3
name: bratislava
title: Bratislava, open data
description: "What the space bratislava carries (DM-01, DM-61): the open data of the City of Bratislava (data.bratislava.sk) as Smart Data Models types, their IRIs cited rather than minted (DM-04, DM-16). The first type is AirQualityObserved, one entity per air-quality station in the city with the PM10 concentration the city publishes for it; each batch of the ranked matrix adds its own classes: the city districts, places and services, the hub's district tables as key performance indicators, the city's counter sites (TrafficFlowObserved for cyclists and motor vehicles, CrowdFlowObserved for pedestrians), the Slovnaft BAjk bike stations (BikeHireDockingStation) and the public transport network of Dopravný podnik Bratislava from its GTFS timetable (GtfsStop, GtfsRoute, GtfsAgency)."
license: https://joinedcontext.com/licenses/cc-by-4.0
prefixes:
  geojson: https://purl.org/geojson/vocab#
  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
      - vehicleType
      - laneDirection
      - dataProvider
      - source
    annotations:
      upstream_source: https://github.com/smart-data-models/dataModel.Transportation
    description: "One day of one of the city's counter sites in one direction: the cyclists or the motor vehicles it counted, from the hub's hourly tables. The site's name and place ride on the observation; the history of the days is the entity's temporal history."
slots:
  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ľ údajov
          cs: Poskytovatel dat
          en: Data provider
          de: Datenanbieter
      ngsi_ld_kind: Property
      upstream_source: https://github.com/smart-data-models/data-models
    description: Who publishes the data the entity was read from, with the credit its licence asks for.
  dateObserved:
    name: dateObserved
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/dateObserved
    exact_mappings:
      - 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.Environment
    description: The end of the period the entity's reading covers, UTC.
  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: Začiatok obdobia
          cs: Začátek období
          en: Period start
          de: Beginn des Zeitraums
      ngsi_ld_kind: Property
      upstream_source: https://github.com/smart-data-models/dataModel.Transportation
    description: The start of the counted day, the Bratislava midnight that opens it, UTC.
  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: Koniec obdobia
          cs: Konec období
          en: Period end
          de: Ende des Zeitraums
      ngsi_ld_kind: Property
      upstream_source: https://github.com/smart-data-models/dataModel.Transportation
    description: The end of the counted day, the Bratislava midnight that closes it, UTC.
  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: Počet prejazdov
          cs: Počet průjezdů
          en: Count
          de: Anzahl
      ngsi_ld_kind: Property
      upstream_source: https://github.com/smart-data-models/dataModel.Transportation
    description: How many bicycles, or motor vehicles, the counter site detected in the day in one direction.
  laneDirection:
    name: laneDirection
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/laneDirection
    exact_mappings:
      - sdm:laneDirection
    range: LaneDirection
    annotations:
      label:
        tag: label
        value:
          sk: Smer
          cs: Směr
          en: Direction
          de: Richtung
      ngsi_ld_kind: Property
      upstream_source: https://github.com/smart-data-models/dataModel.Transportation
    description: "The direction the counted traffic travels: forward towards the place the city's counter names first (SMER_DO), backward towards the second (SMER_Z, or against a one-way street)."
  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 of the station, counter site, stop, line, district, place or indicator as its publisher writes it.
  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
          en: Source
          de: Quelle
      ngsi_ld_kind: Property
      upstream_source: https://github.com/smart-data-models/data-models
    description: The hub page or open-data service of the dataset the entity was read from.
  vehicleType:
    name: vehicleType
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/vehicleType
    exact_mappings:
      - sdm:vehicleType
    range: CountedVehicleType
    annotations:
      label:
        tag: label
        value:
          sk: Druh vozidla
          cs: Druh vozidla
          en: Vehicle type
          de: Fahrzeugart
      ngsi_ld_kind: Property
      upstream_source: https://github.com/smart-data-models/dataModel.Transportation
    description: The one kind of vehicle the observation counts; absent when the site sums every motor vehicle.
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 the city's counter sites count it.
  LaneDirection:
    name: LaneDirection
    permissible_values:
      backward:
        text: backward
        description: Towards the second place the counter names, or against a one-way street.
      forward:
        text: forward
        description: Towards the first place the counter names.
