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

<https://uri.etsi.org/ngsi-ld/default-context/OnStreetParking> a owl:Class ;
  rdfs:label "OnStreetParking" ;
  rdfs:comment "One regulated surface parking section of B:SM (blue, green, residents, loading or coach zone), its curb lines, its places and its rate and timetable codes (Open Data BCN trams-aparcament-superficie)." .

<https://uri.etsi.org/ngsi-ld/default-context/allowedVehicleType> a owl:DatatypeProperty ;
  rdfs:label "allowedVehicleType" ;
  rdfs:range xsd:string ;
  rdfs:comment "What may park there, the section's own kind first; at a charging point, what its sockets serve (car for Type 2, CCS and CHAdeMO and for a car park's household sockets, motorcycle for the 3.6 kW household sockets)." .

<https://uri.etsi.org/ngsi-ld/default-context/category> a owl:DatatypeProperty ;
  rdfs:label "category" ;
  rdfs:range xsd:string ;
  rdfs:comment "An Event's main category first, one of the platform's fifteen event codes (music, theatre-dance, film, exhibition-museum, festival-fair, sport, outdoor-nature, education-talk, children-family, hobby-workshop, food-market, history-heritage, faith-tradition, health-wellness, community-civic), then the Smart Data Models category it falls under where one fits, read from the first words of the Catalan name and absent when no rule matches. A PointOfInterest's family in the city's facility register first (culture-leisure, sports, education, social-services, public-administration, markets-shopping, information-centres, religious-services, environment, animals-plants, cemeteries, media, utility-companies, restaurants), then the register's own kind in Catalan (Biblioteques, Poliesportius); a fountain is drinking-fountain or ornamental-fountain alone; a dog area of the city's parks carries animals-plants, dog-area, a tree of local interest environment, local-interest-tree. An OnStreetParking's kind of regulated parking, from the section type (AZL blue zone, VM green zone, VR residents, DUM loading, BUS coaches)." .

<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/tariffCode> a owl:DatatypeProperty ;
  rdfs:label "tariffCode" ;
  rdfs:range xsd:string ;
  rdfs:comment "The B:SM rate (ID_TARIFA) and timetable (ID_HORARIO) codes of the section, joined as rate/timetable, kept as published (custom; Open Data BCN tarifes- and horaris-aparcament-superficie)." .

<https://uri.etsi.org/ngsi-ld/default-context/totalSpotNumber> a owl:DatatypeProperty ;
  rdfs:label "totalSpotNumber" ;
  rdfs:range xsd:integer ;
  rdfs:comment "The parking places of the section as B:SM counts them (PLACES)." .

<https://uri.etsi.org/ngsi-ld/default-context/zoneCode> a owl:DatatypeProperty ;
  rdfs:label "zoneCode" ;
  rdfs:range xsd:string ;
  rdfs:comment "The section type as B:SM codes it (AZL, VM, VR, DUM, BUS), kept as published (custom)." .
