id: https://joinedcontext.com/models/praha/praha-mesto/views/ywsdwraspqsj5bchoimxbrle4mtuy4af
name: praha-mesto
title: Prague city data
description: "What the Prague city space carries side by side (DM-01, DM-61): the nextbike docking stations and what they hold now, ČHMÚ's hourly air quality at the city's stations, the city districts, the schools, cultural venues, public toilets and sorted-waste points of the city's geoportal (IPR Praha), the park-and-ride car parks and how full they are now, the monitored sorted-waste containers and their fill level and the PID vehicles in service (Golemio), the PID ticket points, the parks, green areas and trees of the shared green register (IPR Praha), and the city budget line by line. One model, one space, one public endpoint. Where Smart Data Models has the class, its IRI is cited rather than minted (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:
  PublicTransportRoute:
    name: PublicTransportRoute
    class_uri: https://uri.etsi.org/ngsi-ld/default-context/PublicTransportRoute
    exact_mappings:
      - sdm:PublicTransportRoute
    slots:
      - location
      - name
      - routeCode
      - shortRouteCode
      - transportationType
      - transportMode
      - description
      - url
      - dataProvider
      - source
    annotations:
      label:
        tag: label
        value:
          sk: Linka MHD
          cs: Linka PID
          en: Public transport route
          de: ÖPNV-Linie
      upstream_source: https://github.com/smart-data-models/dataModel.UrbanMobility
    description: "One PID line as IPR Praha maps it today: its number, what it runs, the termini and the line it draws through Prague and Central Bohemia, simplified to about 5 m."
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, as an application shows it beside the data.
  description:
    name: description
    slot_uri: http://purl.org/dc/terms/description
    exact_mappings:
      - sdm:description
    range: string
    annotations:
      label:
        tag: label
        value:
          sk: Popis
          cs: Popis
          en: Description
          de: Beschreibung
      ngsi_ld_kind: Property
      upstream_source: https://github.com/smart-data-models/data-models
    description: "The publisher's own description: the termini a line runs between, the streets and connections a metro entrance leads to."
  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: LanguageProperty
      upstream_source: https://schema.org/name
    description: The name, per language, as the publisher writes it.
  routeCode:
    name: routeCode
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/routeCode
    exact_mappings:
      - sdm:routeCode
    range: string
    annotations:
      label:
        tag: label
        value:
          sk: Kód linky
          cs: Kód linky
          en: Route code
          de: Liniencode
      ngsi_ld_kind: Property
      upstream_source: https://github.com/smart-data-models/dataModel.UrbanMobility
    description: The PID line's GTFS route_id (L22, L991).
  shortRouteCode:
    name: shortRouteCode
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/shortRouteCode
    exact_mappings:
      - sdm:shortRouteCode
    range: string
    annotations:
      label:
        tag: label
        value:
          sk: Číslo linky
          cs: Číslo linky
          en: Line number
          de: Liniennummer
      ngsi_ld_kind: Property
      upstream_source: https://github.com/smart-data-models/dataModel.UrbanMobility
    description: The line's public number or letter (22, A, S9, P2).
  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 open-data service the entity was read from.
  transportMode:
    name: transportMode
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/transportMode
    exact_mappings:
      - jc:transportMode
    range: TransportMode
    annotations:
      label:
        tag: label
        value:
          sk: Druh dopravy
          cs: Druh dopravy
          en: Transport mode
          de: Verkehrsmittel
      ngsi_ld_kind: Property
    description: What the line runs, as the GTFS route type names it (tram, metro, train, bus, ferry, funicular, trolleybus).
  transportationType:
    name: transportationType
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/transportationType
    exact_mappings:
      - sdm:transportationType
    range: integer
    annotations:
      label:
        tag: label
        value:
          sk: Druh dopravy (GTFS)
          cs: Druh dopravy (GTFS)
          en: Transport type (GTFS)
          de: Verkehrsart (GTFS)
      ngsi_ld_kind: Property
      upstream_source: https://github.com/smart-data-models/dataModel.UrbanMobility
    description: "The GTFS basic route type of the line: 0 tram, 1 metro, 2 train, 3 bus, 4 ferry, 7 funicular. The Smart Data Model lists only 0 to 7, so a trolleybus (GTFS 11) is 3 and its transportMode says trolleybus."
  url:
    name: url
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/url
    exact_mappings:
      - schema:url
    range: uri
    annotations:
      label:
        tag: label
        value:
          sk: Webová stránka
          cs: Webová stránka
          en: Web page
          de: Webseite
      ngsi_ld_kind: Property
      upstream_source: https://schema.org/url
    description: The place's own web page.
enums:
  TransportMode:
    name: TransportMode
    permissible_values:
      bus:
        text: bus
        description: Bus (GTFS route type 3).
      ferry:
        text: ferry
        description: Ferry (GTFS route type 4).
      funicular:
        text: funicular
        description: Funicular (GTFS route type 7).
      metro:
        text: metro
        description: Metro (GTFS route type 1).
      train:
        text: train
        description: Train (GTFS route type 2).
      tram:
        text: tram
        description: Tram (GTFS route type 0).
      trolleybus:
        text: trolleybus
        description: Trolleybus (GTFS route type 11).
