# 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/hptanmkb42cdhkwvjminrm7mn4ejx4ah> 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/EVChargingStation> a owl:Class ;
  rdfs:label "EVChargingStation" ;
  rdfs:comment "One public charging point of the Endolla Barcelona network run by B:SM, its ports, socket kinds and how many are free now, every five minutes (Open Data BCN informacio-punts-recarrega-electric, which carries the port states of estat-ports-recarrega-electric too)." .

<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/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/availableCapacity> a owl:DatatypeProperty ;
  rdfs:label "availableCapacity" ;
  rdfs:range xsd:integer ;
  rdfs:comment "The ports free now (port status AVAILABLE); never more than capacity." .

<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/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/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/network> a owl:DatatypeProperty ;
  rdfs:label "network" ;
  rdfs:range xsd:string ;
  rdfs:comment "The brand of the charging network (Endolla Barcelona)." .

<https://uri.etsi.org/ngsi-ld/default-context/openingHours> a owl:DatatypeProperty ;
  rdfs:label "openingHours" ;
  rdfs:range xsd:string ;
  rdfs:comment "When the charging point may be used, in schema.org's syntax (Mo-Su 00:00-24:00)." .

<https://uri.etsi.org/ngsi-ld/default-context/operator> a owl:DatatypeProperty ;
  rdfs:label "operator" ;
  rdfs:range xsd:string ;
  rdfs:comment "Who runs the charging point (Barcelona de Serveis Municipals S.A.)." .

<https://uri.etsi.org/ngsi-ld/default-context/socketNumber> a owl:DatatypeProperty ;
  rdfs:label "socketNumber" ;
  rdfs:range xsd:integer ;
  rdfs:comment "The ports of the charging point." .

<https://uri.etsi.org/ngsi-ld/default-context/socketType> a owl:DatatypeProperty ;
  rdfs:label "socketType" ;
  rdfs:range xsd:string ;
  rdfs:comment "The kinds of socket, in Smart Data Models' words: CCS_TYPE_2 is CCS/SAE, CHADEMO CHAdeMO, MENNEKES and a wall outlet over 3.7 kW Type2, a wall outlet up to 3.7 kW Wall_Euro." .

<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/status> a owl:DatatypeProperty ;
  rdfs:label "status" ;
  rdfs:range xsd:string ;
  rdfs:comment "The state of the charging point from its ports: working while one is free, full when none is free and one charges, outOfService when every port is out of order, unavailable or unknown." .
