# 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/7mzocysrtkfg4ncungcvui6hrvgj7usm> 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/TouristRental> a owl:Class ;
  rdfs:label "TouristRental" ;
  rdfs:comment "One tourist flat (habitatge d'ús turístic) the city has licensed, by its licence file: the guests it admits, its Generalitat register number, and the building it is in (street and number, district, barri and point). Floor, door, staircase and block are never written: they locate a household. Smart Data Models' TouristRental is a facility rented to tourists; the licence register names the facility, so no rental dates or tourist." .

<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/capacity> a owl:DatatypeProperty ;
  rdfs:label "capacity" ;
  rdfs:range xsd:integer ;
  rdfs:comment "How many vehicles the charging point charges at once, one per port the city lists; how many guests a tourist flat's licence admits (its places)." .

<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/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/registerNumber> a owl:DatatypeProperty ;
  rdfs:label "registerNumber" ;
  rdfs:range xsd:string ;
  rdfs:comment "The flat's number in the Generalitat's tourism register (Registre de Turisme de Catalunya), HUTB- and six digits, which every advert of the flat must show." .

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