# 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/esbxdrr7snorjsp7uus2luihr6vl5vv6> a owl:Ontology ;
  rdfs:label "barcelona" .

<https://uri.etsi.org/ngsi-ld/default-context/AirQualityObserved> a owl:Class ;
  rdfs:label "AirQualityObserved" ;
  rdfs:comment "One air-quality station of Barcelona and its hourly means." .

<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/address> a owl:ObjectProperty ;
  rdfs:label "address" ;
  rdfs:range <https://w3id.org/linkml/Any> ;
  rdfs:comment "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." .

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

<https://uri.etsi.org/ngsi-ld/default-context/blackCarbon> a owl:DatatypeProperty ;
  rdfs:label "blackCarbon" ;
  rdfs:range xsd:float ;
  rdfs:comment "Black carbon, the hour's mean at the station. A property of this model: the Smart Data Model AirQualityObserved names no black carbon attribute. The city's file gives it in ng/m³ under a µg/m³ label; the pipeline divides by 1000." .

<https://uri.etsi.org/ngsi-ld/default-context/co> a owl:DatatypeProperty ;
  rdfs:label "co" ;
  rdfs:range xsd:float ;
  rdfs:comment "Carbon monoxide, the hour's mean at the station, in mg/m³ as the city measures it." .

<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." .

<https://uri.etsi.org/ngsi-ld/default-context/dateObserved> a owl:DatatypeProperty ;
  rdfs:label "dateObserved" ;
  rdfs:range xsd:dateTime ;
  rdfs:comment "The end of the period the entity's newest readings cover, UTC: the hour of an air-quality mean, the local day of a weather station's values, the day of a well's reading, a traffic state's report, a charging point's newest port change." .

<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/no> a owl:DatatypeProperty ;
  rdfs:label "no" ;
  rdfs:range xsd:float ;
  rdfs:comment "Nitrogen monoxide, the hour's mean at the station." .

<https://uri.etsi.org/ngsi-ld/default-context/no2> a owl:DatatypeProperty ;
  rdfs:label "no2" ;
  rdfs:range xsd:float ;
  rdfs:comment "Nitrogen dioxide, the hour's mean at the station." .

<https://uri.etsi.org/ngsi-ld/default-context/nox> a owl:DatatypeProperty ;
  rdfs:label "nox" ;
  rdfs:range xsd:float ;
  rdfs:comment "Nitrogen oxides (NO + NO2 as NO2), the hour's mean at the station." .

<https://uri.etsi.org/ngsi-ld/default-context/o3> a owl:DatatypeProperty ;
  rdfs:label "o3" ;
  rdfs:range xsd:float ;
  rdfs:comment "Ozone, the hour's mean at the station." .

<https://uri.etsi.org/ngsi-ld/default-context/pm10> a owl:DatatypeProperty ;
  rdfs:label "pm10" ;
  rdfs:range xsd:float ;
  rdfs:comment "Particulate matter up to 10 µm, the hour's mean at the station." .

<https://uri.etsi.org/ngsi-ld/default-context/pm25> a owl:DatatypeProperty ;
  rdfs:label "pm25" ;
  rdfs:range xsd:float ;
  rdfs:comment "Particulate matter up to 2.5 µm, the hour's mean at the station." .

<https://uri.etsi.org/ngsi-ld/default-context/so2> a owl:DatatypeProperty ;
  rdfs:label "so2" ;
  rdfs:range xsd:float ;
  rdfs:comment "Sulphur dioxide, the hour's mean at the station." .

<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/stationCode> a owl:DatatypeProperty ;
  rdfs:label "stationCode" ;
  rdfs:range xsd:string ;
  rdfs:comment "The station's code in the network that runs it: the Catalan air-quality network (XVPCA, the city's codi_eoi, such as `8019043`), the Meteocat weather network (such as `D5`) or the Catalan water agency's well register (ACA, such as `08019-0148`)." .
