# OWL ontology, rendered from the LinkML model.
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .

<https://joinedcontext.com/models/barcelona/barcelona/views/o45h3owqwgklqyyzqz4k77slqndnryk2> a owl:Ontology ;
  rdfs:label "barcelona" .

<https://w3id.org/linkml/Any> a owl:Class ;
  rdfs:label "Any" ;
  rdfs:comment "Any value: an inlined object whose class this view does not show." .

<https://uri.etsi.org/ngsi-ld/default-context/KeyPerformanceIndicator> a owl:Class ;
  rdfs:label "KeyPerformanceIndicator" ;
  rdfs:comment "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." .

<https://uri.etsi.org/ngsi-ld/default-context/area> a owl:DatatypeProperty ;
  rdfs:label "area" ;
  rdfs:range xsd:string ;
  rdfs:comment "The name of the area the value describes, a barri, a district or the whole city." .

<https://uri.etsi.org/ngsi-ld/default-context/calculatedBy> a owl:DatatypeProperty ;
  rdfs:label "calculatedBy" ;
  rdfs:range xsd:string ;
  rdfs:comment "The organization that computes the value." .

<https://uri.etsi.org/ngsi-ld/default-context/calculationFrequency> a owl:DatatypeProperty ;
  rdfs:label "calculationFrequency" ;
  rdfs:range xsd:string ;
  rdfs:comment "How often the source publishes a new period." .

<https://uri.etsi.org/ngsi-ld/default-context/calculationPeriod> a owl:ObjectProperty ;
  rdfs:label "calculationPeriod" ;
  rdfs:range <https://w3id.org/linkml/Any> ;
  rdfs:comment "The period the value covers, its first and last day." .

<https://uri.etsi.org/ngsi-ld/default-context/dataProvider> a owl:DatatypeProperty ;
  rdfs:label "dataProvider" ;
  rdfs:range xsd:string ;
  rdfs:comment "Who publishes the data the entity was read from, with the credit its licence asks for." .

<http://purl.org/dc/terms/description> a owl:DatatypeProperty ;
  rdfs:label "description" ;
  rdfs:range xsd:string ;
  rdfs:comment "The description as the city publishes it, in Catalan (a work, a statistics dataset)." .

<https://uri.etsi.org/ngsi-ld/default-context/dimensionKey> a owl:DatatypeProperty ;
  rdfs:label "dimensionKey" ;
  rdfs:range xsd:string ;
  rdfs:comment "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." .

<https://uri.etsi.org/ngsi-ld/default-context/districtCode> a owl:DatatypeProperty ;
  rdfs:label "districtCode" ;
  rdfs:range xsd:string ;
  rdfs:comment "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." .

<https://uri.etsi.org/ngsi-ld/default-context/divisionLevel> a owl:DatatypeProperty ;
  rdfs:label "divisionLevel" ;
  rdfs:range xsd:string ;
  rdfs:comment "Which of the city's two divisions the area belongs to; for a statistics indicator also the whole city." .

<https://uri.etsi.org/ngsi-ld/default-context/kpiValue> a owl:DatatypeProperty ;
  rdfs:label "kpiValue" ;
  rdfs:range xsd:float ;
  rdfs:comment "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." .

<https://uri.etsi.org/ngsi-ld/location> a owl:DatatypeProperty ;
  rdfs:label "location" ;
  rdfs:range xsd:string ;
  rdfs:comment "Where the entity is, as GeoJSON geometry." .

<https://uri.etsi.org/ngsi-ld/default-context/name> a owl:DatatypeProperty ;
  rdfs:label "name" ;
  rdfs:range xsd:string ;
  rdfs:comment "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)." .

<https://uri.etsi.org/ngsi-ld/default-context/organization> a owl:DatatypeProperty ;
  rdfs:label "organization" ;
  rdfs:range xsd:string ;
  rdfs:comment "The organization the indicator describes." .

<https://uri.etsi.org/ngsi-ld/default-context/process> a owl:DatatypeProperty ;
  rdfs:label "process" ;
  rdfs:range xsd:string ;
  rdfs:comment "The statistics dataset the value comes from, its Open Data BCN title in Catalan." .

<https://uri.etsi.org/ngsi-ld/default-context/refArea> a owl:DatatypeProperty ;
  rdfs:label "refArea" ;
  rdfs:range xsd:anyURI ;
  rdfs:comment "The district or barri (AdministrativeArea) the value describes; none for the whole city." .

<https://uri.etsi.org/ngsi-ld/default-context/source> a owl:DatatypeProperty ;
  rdfs:label "source" ;
  rdfs:range xsd:anyURI ;
  rdfs:comment "The open-data file or the Open Data BCN dataset the entity was read from." .

<https://uri.etsi.org/ngsi-ld/default-context/statisticsTable> a owl:DatatypeProperty ;
  rdfs:label "statisticsTable" ;
  rdfs:range xsd:string ;
  rdfs:comment "The Open Data BCN dataset the value comes from, such as pad_mdbas, which `source` links to." .
