# 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/6cy6upunqzvimnf3zxiivp5jo4yarmyf> 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/PhreaticObserved> a owl:Class ;
  rdfs:label "PhreaticObserved" ;
  rdfs:comment "One piezometer or well of Barcelona and its newest groundwater reading." .

<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/aquifer> a owl:DatatypeProperty ;
  rdfs:label "aquifer" ;
  rdfs:range xsd:string ;
  rdfs:comment "The groundwater body (massa d'aigua) the well reaches, as the water agency names it." .

<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/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/default-context/investigationDepth> a owl:DatatypeProperty ;
  rdfs:label "investigationDepth" ;
  rdfs:range xsd:float ;
  rdfs:comment "The depth of the well or piezometer in metres. A fixed property of the well, written without a unit code so its rows are never read as a measurement stamped on receipt." .

<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/measurementType> a owl:DatatypeProperty ;
  rdfs:label "measurementType" ;
  rdfs:range xsd:string ;
  rdfs:comment "What the well's readings measure; `depth` for each of the city's wells." .

<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/piezometricLevel> a owl:DatatypeProperty ;
  rdfs:label "piezometricLevel" ;
  rdfs:range xsd:float ;
  rdfs:comment "The height of the water above sea level at the newest reading (below 0 where the sea draws the aquifer down). A property of this model: PhreaticObserved has only the depth." .

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

<https://uri.etsi.org/ngsi-ld/default-context/waterTable> a owl:DatatypeProperty ;
  rdfs:label "waterTable" ;
  rdfs:range xsd:float ;
  rdfs:comment "The depth from the surface to the water in the well at the newest reading." .
