# 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/zilina/zilina-doprava/views/4tuk6jz4qlpodue5v3mr66qc5wjlttbp> a owl:Ontology ;
  rdfs:label "zilina-doprava" .

<https://smartdatamodels.org/Vehicle> a owl:Class ;
  rdfs:label "Vehicle" ;
  rdfs:comment "One bus or trolleybus of DPMŽ in service: where it is, its line and how late it runs." .

<https://smartdatamodels.org/dataProvider> a owl:DatatypeProperty ;
  rdfs:label "dataProvider" ;
  rdfs:range xsd:string ;
  rdfs:comment "Who publishes the data and the credit its licence asks for: \"Mesto Žilina, ODbL\"." .

<https://smartdatamodels.org/dateObserved> a owl:DatatypeProperty ;
  rdfs:label "dateObserved" ;
  rdfs:range xsd:dateTime ;
  rdfs:comment "When the portal last reported the vehicle or the car park." .

<https://joinedcontext.com/models/delay> a owl:DatatypeProperty ;
  rdfs:label "delay" ;
  rdfs:range xsd:integer ;
  rdfs:comment "Seconds behind the timetable, negative when ahead (the portal's deviation in minutes times 60, rounded)." .

<https://joinedcontext.com/models/direction> a owl:DatatypeProperty ;
  rdfs:label "direction" ;
  rdfs:range xsd:string ;
  rdfs:comment "The last stop the vehicle heads for." .

<https://smartdatamodels.org/heading> a owl:DatatypeProperty ;
  rdfs:label "heading" ;
  rdfs:range xsd:integer ;
  rdfs:comment "Where the vehicle points, degrees clockwise from north." .

<https://joinedcontext.com/models/lineName> a owl:DatatypeProperty ;
  rdfs:label "lineName" ;
  rdfs:range xsd:string ;
  rdfs:comment "The line the vehicle runs, its short name (3, 24)." .

<https://purl.org/geojson/vocab#geometry> a owl:DatatypeProperty ;
  rdfs:label "location" ;
  rdfs:range xsd:string ;
  rdfs:comment "Where the entity is, as GeoJSON geometry." .

<http://schema.org/name> a owl:DatatypeProperty ;
  rdfs:label "name" ;
  rdfs:range xsd:string ;
  rdfs:comment "The name, per language, as the city's open data portal writes it." .

<https://joinedcontext.com/models/nextStop> a owl:DatatypeProperty ;
  rdfs:label "nextStop" ;
  rdfs:range xsd:string ;
  rdfs:comment "The name of the stop the vehicle reaches next." .

<https://joinedcontext.com/models/occupancy> a owl:DatatypeProperty ;
  rdfs:label "occupancy" ;
  rdfs:range xsd:integer ;
  rdfs:comment "How full the vehicle is, in percent, as the portal estimates it." .

<https://smartdatamodels.org/source> a owl:DatatypeProperty ;
  rdfs:label "source" ;
  rdfs:range xsd:anyURI ;
  rdfs:comment "The portal API the entity was read from." .

<https://smartdatamodels.org/vehicleType> a owl:DatatypeProperty ;
  rdfs:label "vehicleType" ;
  rdfs:range xsd:string ;
  rdfs:comment "The kind of vehicle, as the portal names it (Bus, Trolleybus)." .
