"id": "https://joinedcontext.com/models/barcelona/barcelona/views/iktky2jhufhge2pyeijyp4nhzpg2jzcc"
"name": "barcelona"
"imports":
  - "linkml:types"
"default_range": "string"
"prefixes":
  "linkml":
    "prefix_prefix": "linkml"
    "prefix_reference": "https://w3id.org/linkml/"
  "sdm":
    "prefix_prefix": "sdm"
    "prefix_reference": "https://smartdatamodels.org/"
"default_prefix": "sdm"
"classes":
  "Any":
    "class_uri": "linkml:Any"
    "description": "Any value: an inlined object whose class this view does not show."
  "RoadAccident":
    "name": "RoadAccident"
    "class_uri": "https://uri.etsi.org/ngsi-ld/default-context/RoadAccident"
    "slots":
      - "location"
      - "localId"
      - "status"
      - "accidentDate"
      - "totalInjured"
      - "seriouslyInjured"
      - "slightlyInjured"
      - "deadCount"
      - "vehicleCount"
      - "pedestriansInvolved"
      - "pedestrianCause"
      - "accidentKind"
      - "accidentType"
      - "accidentCause"
      - "vehicleKind"
      - "vehiclesInvolved"
      - "numPassengersInjured"
      - "numPassengersDead"
      - "numPedestrianInjured"
      - "numPedestrianDead"
      - "address"
      - "areaServed"
      - "dataProvider"
      - "source"
    "slot_usage":
      "status":
        "name": "status"
        "slot_uri": "sdm:status"
        "range": "RoadAccidentStatus"
        "required": true
        "annotations":
          "label":
            "tag": "label"
            "value": "{\"sk\": \"Stav\", \"cs\": \"Stav\", \"en\": \"Status\", \"de\": \"Status\"}"
          "ngsi_ld_kind":
            "tag": "ngsi_ld_kind"
            "value": "Property"
          "upstream_source":
            "tag": "upstream_source"
            "value": "https://github.com/smart-data-models/dataModel.Transportation"
        "description": "The state of the charging point from its ports: working while one is free, full when none is free and one charges, outOfService when every port is out of order, unavailable or unknown."
    "annotations":
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/dataModel.Transportation"
    "description": "One road accident the Guàrdia Urbana handled (accidents-gu-bcn), its hour, place and the people injured or dead as counts, with its kinds, causes and the kinds of vehicle involved from the four detail tables joined by file number; nothing about a person."
"slots":
  "accidentCause":
    "name": "accidentCause"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/accidentCause"
    "range": "string"
    "multivalued": true
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"Pr\\u00ed\\u010dina nehody\", \"cs\": \"P\\u0159\\u00ed\\u010dina nehody\", \"en\": \"Accident cause\", \"de\": \"Unfallursache\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
    "description": "The causes the police file names, in Catalan: the mediate causes (accidents-causes-gu-bcn, Alcoholèmia), then the drivers' causes (accidents_causa_conductor_gu_bcn, Gir indegut o sense precaució)."
  "accidentDate":
    "name": "accidentDate"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/accidentDate"
    "range": "datetime"
    "required": true
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"\\u010cas nehody\", \"cs\": \"\\u010cas nehody\", \"en\": \"Accident time\", \"de\": \"Unfallzeit\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/dataModel.Transportation"
    "description": "The hour of the accident, UTC: the police file gives the local day and hour only, so the minutes are 00."
  "accidentKind":
    "name": "accidentKind"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/accidentKind"
    "range": "string"
    "multivalued": true
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"Druh nehody\", \"cs\": \"Druh nehody\", \"en\": \"Accident kind\", \"de\": \"Unfallart\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
    "description": "The kinds of the accident the police file names, in Catalan as the city writes them (Col.lisió lateral, Abast, Atropellament), from accidents-tipus-gu-bcn."
  "accidentType":
    "name": "accidentType"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/accidentType"
    "range": "string"
    "multivalued": true
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"Typ nehody (k\\u00f3d)\", \"cs\": \"Typ nehody (k\\u00f3d)\", \"en\": \"Accident type (code)\", \"de\": \"Unfalltyp (Code)\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/dataModel.Transportation"
    "description": "The Smart Data Model codes of accidentKind where a code means the same: 1 frontal, 2 frontal-lateral, 3 side collision, 4 collision (Abast, Abast multiple, Encalç), 5 pedestrian hit, 8 impact with an obstacle (Xoc contra element estàtic); a kind with no such code has none."
  "address":
    "name": "address"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/address"
    "range": "Any"
    "inlined": true
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"Adresa\", \"cs\": \"Adresa\", \"en\": \"Address\", \"de\": \"Adresse\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/data-models/blob/master/common-schema.json"
    "description": "Where the station, the well, the event, the facility, the charging point or the street furniture is, as the city publishes it, field by field (Smart Data Models' common PostalAddress); a field the source leaves out is absent."
  "areaServed":
    "name": "areaServed"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/areaServed"
    "range": "string"
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"\\u0160tvr\\u0165\", \"cs\": \"\\u010ctvr\\u0165\", \"en\": \"Neighbourhood\", \"de\": \"Stadtviertel\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/data-models"
    "description": "Where the entity is as the city names it: the barri of a station, a well or a tourist flat, the place of a work (a street and number, a square, a park)."
  "dataProvider":
    "name": "dataProvider"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/dataProvider"
    "range": "string"
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"Poskytovate\\u013e \\u00fadajov\", \"cs\": \"Poskytovatel dat\", \"en\": \"Data provider\", \"de\": \"Datenanbieter\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "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."
  "deadCount":
    "name": "deadCount"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/deadCount"
    "range": "integer"
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"M\\u0155tvi\", \"cs\": \"Mrtv\\u00ed\", \"en\": \"Dead\", \"de\": \"Tote\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
    "description": "The people dead, as the police file counts them (morts)."
  "localId":
    "name": "localId"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/localId"
    "range": "string"
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"Miestny identifik\\u00e1tor\", \"cs\": \"M\\u00edstn\\u00ed identifik\\u00e1tor\", \"en\": \"Local identifier\", \"de\": \"Lokale Kennung\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/dataModel.Transportation"
    "description": "The source's own identifier of the record: a bike lane's segment code in the city's map layer (GL4683814), an accident's police file number (2025S000001)."
  "location":
    "name": "location"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/location"
    "range": "string"
    "annotations":
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "GeoProperty"
      "upstream_source":
        "tag": "upstream_source"
        "value": "ETSI NGSI-LD core context v1.8"
    "description": "Where the entity is, as GeoJSON geometry."
  "numPassengersDead":
    "name": "numPassengersDead"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/numPassengersDead"
    "range": "integer"
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"M\\u0155tvi cestuj\\u00faci\", \"cs\": \"Mrtv\\u00ed cestuj\\u00edc\\u00ed\", \"en\": \"Passengers dead\", \"de\": \"Tote Fahrg\\u00e4ste\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/dataModel.Transportation"
    "description": "The passengers dead, a count from accidents-persones-gu-bcn."
  "numPassengersInjured":
    "name": "numPassengersInjured"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/numPassengersInjured"
    "range": "integer"
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"Zranen\\u00ed cestuj\\u00faci\", \"cs\": \"Zran\\u011bn\\u00ed cestuj\\u00edc\\u00ed\", \"en\": \"Passengers injured\", \"de\": \"Verletzte Fahrg\\u00e4ste\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/dataModel.Transportation"
    "description": "The passengers injured and alive, a count from accidents-persones-gu-bcn."
  "numPedestrianDead":
    "name": "numPedestrianDead"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/numPedestrianDead"
    "range": "integer"
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"M\\u0155tvi chodci\", \"cs\": \"Mrtv\\u00ed chodci\", \"en\": \"Pedestrians dead\", \"de\": \"Tote Fu\\u00dfg\\u00e4nger\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/dataModel.Transportation"
    "description": "The pedestrians dead, a count from accidents-persones-gu-bcn."
  "numPedestrianInjured":
    "name": "numPedestrianInjured"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/numPedestrianInjured"
    "range": "integer"
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"Zranen\\u00ed chodci\", \"cs\": \"Zran\\u011bn\\u00ed chodci\", \"en\": \"Pedestrians injured\", \"de\": \"Verletzte Fu\\u00dfg\\u00e4nger\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/dataModel.Transportation"
    "description": "The pedestrians injured and alive, a count from accidents-persones-gu-bcn."
  "pedestrianCause":
    "name": "pedestrianCause"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/pedestrianCause"
    "range": "string"
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"Pr\\u00ed\\u010dina chodca\", \"cs\": \"P\\u0159\\u00ed\\u010dina chodce\", \"en\": \"Pedestrian cause\", \"de\": \"Ursache des Fu\\u00dfg\\u00e4ngers\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
    "description": "The pedestrian's cause the police file names, in Catalan (Creuar per fora pas de vianants)."
  "pedestriansInvolved":
    "name": "pedestriansInvolved"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/pedestriansInvolved"
    "range": "boolean"
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"\\u00da\\u010das\\u0165 chodca\", \"cs\": \"\\u00da\\u010dast chodce\", \"en\": \"Pedestrian involved\", \"de\": \"Fu\\u00dfg\\u00e4nger beteiligt\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/dataModel.Transportation"
    "description": "True when the police file names a pedestrian's cause; absent otherwise, since the file does not say whether an accident without one involved a pedestrian."
  "seriouslyInjured":
    "name": "seriouslyInjured"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/seriouslyInjured"
    "range": "integer"
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"\\u0164a\\u017eko zranen\\u00ed\", \"cs\": \"T\\u011b\\u017ece zran\\u011bn\\u00ed\", \"en\": \"Seriously injured\", \"de\": \"Schwer verletzt\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
    "description": "The people seriously injured (lesionats greus)."
  "slightlyInjured":
    "name": "slightlyInjured"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/slightlyInjured"
    "range": "integer"
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"\\u013dahko zranen\\u00ed\", \"cs\": \"Lehce zran\\u011bn\\u00ed\", \"en\": \"Slightly injured\", \"de\": \"Leicht verletzt\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
    "description": "The people slightly injured (lesionats lleus)."
  "source":
    "name": "source"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/source"
    "range": "uri"
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"Zdroj\", \"cs\": \"Zdroj\", \"en\": \"Source\", \"de\": \"Quelle\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/data-models"
    "description": "The open-data file or the Open Data BCN dataset the entity was read from."
  "status":
    "name": "status"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/status"
    "range": "ChargingStationStatus"
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"Stav\", \"cs\": \"Stav\", \"en\": \"Status\", \"de\": \"Status\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/dataModel.Transportation"
    "description": "The state of the charging point from its ports: working while one is free, full when none is free and one charges, outOfService when every port is out of order, unavailable or unknown."
  "totalInjured":
    "name": "totalInjured"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/totalInjured"
    "range": "integer"
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"Zranen\\u00ed spolu\", \"cs\": \"Zran\\u011bn\\u00ed celkem\", \"en\": \"Injured in total\", \"de\": \"Verletzte insgesamt\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/dataModel.Transportation"
    "description": "The people injured and alive, slightly and seriously, as the police file counts them."
  "vehicleCount":
    "name": "vehicleCount"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/vehicleCount"
    "range": "integer"
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"Po\\u010det vozidiel\", \"cs\": \"Po\\u010det vozidel\", \"en\": \"Vehicles\", \"de\": \"Anzahl der Fahrzeuge\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
    "description": "The vehicles the accident involved."
  "vehicleKind":
    "name": "vehicleKind"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/vehicleKind"
    "range": "string"
    "multivalued": true
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"Druh vozidla\", \"cs\": \"Druh vozidla\", \"en\": \"Vehicle kind\", \"de\": \"Fahrzeugart\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
    "description": "The kind of each vehicle involved, once a vehicle, in Catalan as the city writes it (Turisme, Motocicleta), from accidents-vehicles-gu-bcn; no make, model, colour or licence."
  "vehiclesInvolved":
    "name": "vehiclesInvolved"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/vehiclesInvolved"
    "range": "string"
    "multivalued": true
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"Z\\u00fa\\u010dastnen\\u00e9 vozidl\\u00e1 (k\\u00f3d)\", \"cs\": \"Z\\u00fa\\u010dastn\\u011bn\\u00e1 vozidla (k\\u00f3d)\", \"en\": \"Vehicles involved (code)\", \"de\": \"Beteiligte Fahrzeuge (Code)\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/dataModel.Transportation"
    "description": "The Smart Data Model code of each vehicleKind where a code means the same (1 bicycle, 3 bus, 4 minibus, 5 car, 7 tram, 11 lorry, 12 moped, 14 motorcycle, 18 van, 20 construction or maintenance vehicle); a personal mobility vehicle, an ambulance or an unreported kind has none."
"enums":
  "ChargingStationStatus":
    "name": "ChargingStationStatus"
    "description": "The EVChargingStation `status` values the port states map to, a subset of the Smart Data Model's enum."
    "permissible_values":
      "full":
        "text": "full"
        "description": "No port free and at least one IN_USE."
      "outOfService":
        "text": "outOfService"
        "description": "Every port OUT_OF_ORDER, UNAVAILABLE or UNKNOWN."
      "working":
        "text": "working"
        "description": "At least one port AVAILABLE."
  "RoadAccidentStatus":
    "name": "RoadAccidentStatus"
    "description": "The Smart Data Model RoadAccident status; a police file the city publishes is closed."
    "permissible_values":
      "archived":
        "text": "archived"
        "description": "A closed police file of a past accident."
