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

<https://uri.etsi.org/ngsi-ld/default-context/AdministrativeArea> a owl:Class ;
  rdfs:label "AdministrativeArea" ;
  rdfs:comment "One district (10) or barri (73) of Barcelona, its outline and its code, as the Smart Data Model extension AdministrativeArea (PointOfInterest base)." .

<https://uri.etsi.org/ngsi-ld/default-context/cityWorks> a owl:DatatypeProperty ;
  rdfs:label "cityWorks" ;
  rdfs:range xsd:anyURI ;
  rdfs:comment "The works that lie in this district only, computed from their refDistrict and never stored." .

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

<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/neighbourhoods> a owl:ObjectProperty ;
  rdfs:label "neighbourhoods" ;
  rdfs:range <https://uri.etsi.org/ngsi-ld/default-context/AdministrativeArea> ;
  owl:inverseOf <https://uri.etsi.org/ngsi-ld/default-context/refParentDistrict> ;
  rdfs:comment "The barris of this district, computed from their refParentDistrict and never stored." .

<https://uri.etsi.org/ngsi-ld/default-context/pedestrianCrossings> a owl:DatatypeProperty ;
  rdfs:label "pedestrianCrossings" ;
  rdfs:range xsd:anyURI ;
  rdfs:comment "The crossings in this barri, computed from their refNeighbourhood and never stored." .

<https://uri.etsi.org/ngsi-ld/default-context/refParentDistrict> a owl:ObjectProperty ;
  rdfs:label "refParentDistrict" ;
  rdfs:range <https://uri.etsi.org/ngsi-ld/default-context/AdministrativeArea> ;
  owl:inverseOf <https://uri.etsi.org/ngsi-ld/default-context/neighbourhoods> ;
  rdfs:comment "The district a barri belongs to." .

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