"id": "https://joinedcontext.com/models/barcelona/barcelona/views/kmcoidsrupr62o5jfbwugynnhvms4tcr"
"name": "barcelona"
"imports":
  - "linkml:types"
"default_range": "string"
"prefixes":
  "jc":
    "prefix_prefix": "jc"
    "prefix_reference": "https://joinedcontext.com/models/"
  "linkml":
    "prefix_prefix": "linkml"
    "prefix_reference": "https://w3id.org/linkml/"
  "schema":
    "prefix_prefix": "schema"
    "prefix_reference": "http://schema.org/"
  "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."
  "KeyPerformanceIndicator":
    "name": "KeyPerformanceIndicator"
    "class_uri": "https://uri.etsi.org/ngsi-ld/default-context/KeyPerformanceIndicator"
    "slots":
      - "location"
      - "name"
      - "description"
      - "kpiValue"
      - "calculationPeriod"
      - "calculationFrequency"
      - "area"
      - "districtCode"
      - "divisionLevel"
      - "refArea"
      - "process"
      - "statisticsTable"
      - "dimensionKey"
      - "calculatedBy"
      - "organization"
      - "dataProvider"
      - "source"
    "slot_usage":
      "area":
        "name": "area"
        "slot_uri": "sdm:area"
        "range": "string"
        "annotations":
          "label":
            "tag": "label"
            "value": "{\"sk\": \"Oblas\\u0165\", \"cs\": \"Oblast\", \"en\": \"Area\", \"de\": \"Gebiet\"}"
          "ngsi_ld_kind":
            "tag": "ngsi_ld_kind"
            "value": "Property"
          "summary":
            "tag": "summary"
            "value": "true"
          "upstream_source":
            "tag": "upstream_source"
            "value": "https://github.com/smart-data-models/dataModel.KeyPerformanceIndicator"
        "description": "The name of the area the value describes, a barri, a district or the whole city."
        "rank": 3
      "districtCode":
        "name": "districtCode"
        "slot_uri": "jc:districtCode"
        "range": "string"
        "required": false
        "annotations":
          "label":
            "tag": "label"
            "value": "{\"sk\": \"K\\u00f3d \\u00fazemia\", \"cs\": \"K\\u00f3d \\u00fazem\\u00ed\", \"en\": \"Area code\", \"de\": \"Gebietscode\"}"
          "ngsi_ld_kind":
            "tag": "ngsi_ld_kind"
            "value": "Property"
        "description": "The city's own two-digit code of the area: the district number 01..10, or for a barri its number 01..73, which runs across the whole city."
      "kpiValue":
        "name": "kpiValue"
        "slot_uri": "sdm:kpiValue"
        "range": "float"
        "required": true
        "annotations":
          "label":
            "tag": "label"
            "value": "{\"sk\": \"Hodnota ukazovate\\u013ea\", \"cs\": \"Hodnota ukazatele\", \"en\": \"Indicator value\", \"de\": \"Indikatorwert\"}"
          "ngsi_ld_kind":
            "tag": "ngsi_ld_kind"
            "value": "Property"
          "summary":
            "tag": "summary"
            "value": "true"
          "upstream_source":
            "tag": "upstream_source"
            "value": "https://github.com/smart-data-models/dataModel.KeyPerformanceIndicator"
        "description": "The indicator's value for its period, with the unit as `unitCode` (UN/CEFACT: C62 a count, EUR euros, MTK square metres) and the period's last day as `observedAt`, so the history holds one value per period."
        "rank": 2
      "name":
        "name": "name"
        "slot_uri": "schema:name"
        "range": "string"
        "annotations":
          "label":
            "tag": "label"
            "value": "{\"sk\": \"N\\u00e1zov\", \"cs\": \"N\\u00e1zev\", \"en\": \"Name\", \"de\": \"Name\"}"
          "ngsi_ld_kind":
            "tag": "ngsi_ld_kind"
            "value": "Property"
          "summary":
            "tag": "summary"
            "value": "true"
          "upstream_source":
            "tag": "upstream_source"
            "value": "https://schema.org/name"
        "description": "The name as the city publishes it, in Catalan (a station, an event, a facility, a street section and its stretch, a street address, a district or barri, a work, a tourist flat by its register number)."
        "rank": 1
    "annotations":
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/dataModel.KeyPerformanceIndicator"
    "description": "One indicator of the city's statistics (Departament d'Estadística, Open Data BCN) for one barri, district or the whole city: the newest period's value, its history one row per period. Read daily from Open Data BCN."
"slots":
  "area":
    "name": "area"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/area"
    "range": "string"
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"Oblas\\u0165\", \"cs\": \"Oblast\", \"en\": \"Area\", \"de\": \"Gebiet\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/dataModel.KeyPerformanceIndicator"
    "description": "The name of the area the value describes, a barri, a district or the whole city."
  "calculatedBy":
    "name": "calculatedBy"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/calculatedBy"
    "range": "string"
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"Vypo\\u010d\\u00edtal\", \"cs\": \"Vypo\\u010d\\u00edtal\", \"en\": \"Calculated by\", \"de\": \"Berechnet von\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/dataModel.KeyPerformanceIndicator"
    "description": "The organization that computes the value."
  "calculationFrequency":
    "name": "calculationFrequency"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/calculationFrequency"
    "range": "CalculationFrequency"
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"Frekvencia v\\u00fdpo\\u010dtu\", \"cs\": \"Frekvence v\\u00fdpo\\u010dtu\", \"en\": \"Calculation frequency\", \"de\": \"Berechnungsh\\u00e4ufigkeit\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/dataModel.KeyPerformanceIndicator"
    "description": "How often the source publishes a new period."
  "calculationPeriod":
    "name": "calculationPeriod"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/calculationPeriod"
    "range": "Any"
    "required": true
    "inlined": true
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"Obdobie v\\u00fdpo\\u010dtu\", \"cs\": \"Obdob\\u00ed v\\u00fdpo\\u010dtu\", \"en\": \"Calculation period\", \"de\": \"Berechnungszeitraum\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/dataModel.KeyPerformanceIndicator"
    "description": "The period the value covers, its first and last day."
  "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."
  "description":
    "name": "description"
    "slot_uri": "http://purl.org/dc/terms/description"
    "range": "string"
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"Popis\", \"cs\": \"Popis\", \"en\": \"Description\", \"de\": \"Beschreibung\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://schema.org/description"
    "description": "The description as the city publishes it, in Catalan (a work, a statistics dataset)."
  "dimensionKey":
    "name": "dimensionKey"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/dimensionKey"
    "range": "string"
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"\\u010clenenie\", \"cs\": \"\\u010clen\\u011bn\\u00ed\", \"en\": \"Breakdown\", \"de\": \"Aufschl\\u00fcsselung\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
    "description": "Which breakdown of the dataset the value is: each kept column and its value as the source writes it, such as SEXE=2; total when the dataset has no breakdown."
  "districtCode":
    "name": "districtCode"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/districtCode"
    "range": "string"
    "required": true
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"K\\u00f3d \\u00fazemia\", \"cs\": \"K\\u00f3d \\u00fazem\\u00ed\", \"en\": \"Area code\", \"de\": \"Gebietscode\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
    "description": "The city's own two-digit code of the area: the district number 01..10, or for a barri its number 01..73, which runs across the whole city."
  "divisionLevel":
    "name": "divisionLevel"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/divisionLevel"
    "range": "DivisionLevel"
    "required": true
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"\\u00darove\\u0148 \\u010dlenenia\", \"cs\": \"\\u00darove\\u0148 \\u010dlen\\u011bn\\u00ed\", \"en\": \"Division level\", \"de\": \"Gliederungsebene\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
    "description": "Which of the city's two divisions the area belongs to; for a statistics indicator also the whole city."
  "kpiValue":
    "name": "kpiValue"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/kpiValue"
    "range": "float"
    "required": true
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"Hodnota ukazovate\\u013ea\", \"cs\": \"Hodnota ukazatele\", \"en\": \"Indicator value\", \"de\": \"Indikatorwert\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/dataModel.KeyPerformanceIndicator"
    "description": "The indicator's value for its period, with the unit as `unitCode` (UN/CEFACT: C62 a count, EUR euros, MTK square metres) and the period's last day as `observedAt`, so the history holds one value per period."
  "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."
  "name":
    "name": "name"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/name"
    "range": "string"
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"N\\u00e1zov\", \"cs\": \"N\\u00e1zev\", \"en\": \"Name\", \"de\": \"Name\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://schema.org/name"
    "description": "The name as the city publishes it, in Catalan (a station, an event, a facility, a street section and its stretch, a street address, a district or barri, a work, a tourist flat by its register number)."
  "organization":
    "name": "organization"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/organization"
    "range": "string"
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"Organiz\\u00e1cia\", \"cs\": \"Organizace\", \"en\": \"Organization\", \"de\": \"Organisation\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/dataModel.KeyPerformanceIndicator"
    "description": "The organization the indicator describes."
  "process":
    "name": "process"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/process"
    "range": "string"
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"Proces\", \"cs\": \"Proces\", \"en\": \"Process\", \"de\": \"Prozess\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
      "upstream_source":
        "tag": "upstream_source"
        "value": "https://github.com/smart-data-models/dataModel.KeyPerformanceIndicator"
    "description": "The statistics dataset the value comes from, its Open Data BCN title in Catalan."
  "refArea":
    "name": "refArea"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/refArea"
    "range": "uriorcurie"
    "inlined": false
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"\\u00dazemie\", \"cs\": \"\\u00dazem\\u00ed\", \"en\": \"Area unit\", \"de\": \"Gebietseinheit\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Relationship"
      "on_delete":
        "tag": "on_delete"
        "value": "restrict"
    "description": "The district or barri (AdministrativeArea) the value describes; none for the whole city."
  "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."
  "statisticsTable":
    "name": "statisticsTable"
    "slot_uri": "https://uri.etsi.org/ngsi-ld/default-context/statisticsTable"
    "range": "string"
    "annotations":
      "label":
        "tag": "label"
        "value": "{\"sk\": \"\\u0160tatistick\\u00e1 tabu\\u013eka\", \"cs\": \"Statistick\\u00e1 tabulka\", \"en\": \"Statistics table\", \"de\": \"Statistiktabelle\"}"
      "ngsi_ld_kind":
        "tag": "ngsi_ld_kind"
        "value": "Property"
    "description": "The Open Data BCN dataset the value comes from, such as pad_mdbas, which `source` links to."
"enums":
  "CalculationFrequency":
    "name": "CalculationFrequency"
    "permissible_values":
      "monthly":
        "text": "monthly"
        "description": "A new value every month."
      "yearly":
        "text": "yearly"
        "description": "A new value every year."
  "DivisionLevel":
    "name": "DivisionLevel"
    "permissible_values":
      "city":
        "text": "city"
        "description": "The whole city (statistics only)."
      "district":
        "text": "district"
        "description": "A district (districte), 10 of them."
      "neighbourhood":
        "text": "neighbourhood"
        "description": "A barri, 73 of them, each inside one district."
