# 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/c7egbq4bfj6ab752icvboemettyguj2m> 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/WeatherForecast> a owl:Class ;
  rdfs:label "WeatherForecast" ;
  rdfs:comment "Meteocat's forecast for the comarca of Barcelonès, one entity per day ahead (day-1 tomorrow, day-2 the day after), as Open Data BCN republishes it." .

<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/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/dateIssued> a owl:DatatypeProperty ;
  rdfs:label "dateIssued" ;
  rdfs:range xsd:dateTime ;
  rdfs:comment "When the meteorological service issued the forecast, UTC (Meteocat's datacreacio, local time in the file)." .

<https://uri.etsi.org/ngsi-ld/default-context/dayMaximum> a owl:ObjectProperty ;
  rdfs:label "dayMaximum" ;
  rdfs:range <https://w3id.org/linkml/Any> ;
  rdfs:comment "The highest values forecast for the day (Smart Data Models' structured value); Meteocat gives the air temperature." .

<https://uri.etsi.org/ngsi-ld/default-context/dayMinimum> a owl:ObjectProperty ;
  rdfs:label "dayMinimum" ;
  rdfs:range <https://w3id.org/linkml/Any> ;
  rdfs:comment "The lowest values forecast for the day (Smart Data Models' structured value); Meteocat gives the air temperature." .

<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/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/validFrom> a owl:DatatypeProperty ;
  rdfs:label "validFrom" ;
  rdfs:range xsd:dateTime ;
  rdfs:comment "The start of the day a forecast covers, local midnight in Europe/Madrid, as UTC." .

<https://uri.etsi.org/ngsi-ld/default-context/validTo> a owl:DatatypeProperty ;
  rdfs:label "validTo" ;
  rdfs:range xsd:dateTime ;
  rdfs:comment "The end of the day a forecast covers, the next local midnight in Europe/Madrid, as UTC." .

<https://uri.etsi.org/ngsi-ld/default-context/weatherType> a owl:DatatypeProperty ;
  rdfs:label "weatherType" ;
  rdfs:range xsd:string ;
  rdfs:comment "The sky Meteocat forecasts in Catalan, morning then afternoon when they differ (\"sol i núvols alts (matí), sol (tarda)\"), read from the symbol table of the same file." .
