Ontology for the representation of core elements in the GTFS Realtime
type: Ontology
version IRI: https://w3id.org/mobility/gtfs-rt/core/0.1.0
imports: terms#
creator: Jhon Toledo (Ontology Engienering Group - Universidad Politécnica de Madrid)
creator: Miguel Angel García (Ontology Engienering Group - Universidad Politécnica de Madrid
creator: Oscar Corcho (Ontology Engineering Group - Universidad Politécnica de Madrid)
description: The core module represents concepts and properties that are general enough to be used across all modules.
rights: Creative Commons Attribution 4.0 International (CC BY 4.0)
license: https://creativecommons.org/licenses/by/4.0
version info: The core module represents concepts and properties that are general enough to be used across all modules.

Incrementalfetch
type: ObjectProperty
sub property of: realTime
domain: FeedHeader
range: Dataset
comment: Realtime information for the feed

hasAlert
type: ObjectProperty
sub property of: realTime
domain: FeedEntity
range: Alert

hasEntity
type: ObjectProperty
sub property of: realTime
domain: FeedMessage
range: FeedEntity

hasHeader
type: ObjectProperty
sub property of: realTime

hasTripUpdate
type: ObjectProperty
sub property of: realTime
domain: FeedEntity
range: TripUpdate

hasVehiclePosition
type: ObjectProperty
sub property of: realTime
domain: FeedEntity
range: VehiclePosition

delay
type: DatatypeProperty
comment: The current schedule deviation for the trip. The delay field (in seconds) can be positive (meaning that the vehicle is late) or negative (meaning that the vehicle is ahead of schedule).

is_deleted
type: DatatypeProperty
range: boolean
comment: Whether this entity is to be deleted.

time
type: DatatypeProperty
range: integer
comment: Event as absolute time. In POSIX time (i.e., number of seconds since January 1st 1970 00:00:00 UTC).

timestamp
type: DatatypeProperty
range: string
comment: This timestamp identifies the moment when the content of this feed has been created (in server time).

version
type: DatatypeProperty
range: string
comment: Gtfs realtime version

Alert
type: Class
subclass of: Message

EntitySelector
type: Class
subclass of: Message

FeedEntity
type: Class
subclass of: Message
subclass of: Restriction
  on property: hasAlert
  max qualified cardinality: 1
  on class: Alert
subclass of: Restriction
  on property: hasTripUpdate
  max qualified cardinality: 1
  on class: TripUpdate
subclass of: Restriction
  on property: hasVehiclePosition
  max qualified cardinality: 1
  on class: VehiclePosition
subclass of: Restriction
  on property: identifier
  qualified cardinality: 1
  on data range: string
subclass of: Restriction
  on property: is_deleted
  max qualified cardinality: 1
  on data range: boolean
comment: A definition (or update) of an entity in the transit feed.

FeedHeader
type: Class
subclass of: Message
subclass of: Restriction
  on property: Incrementalfetch
  qualified cardinality: 1
  on class: Dataset
subclass of: Restriction
  on property: timestamp
  qualified cardinality: 1
  on data range: string
subclass of: Restriction
  on property: version
  qualified cardinality: 1
  on data range: string
comment: Metadata about a feed, included in feed messages.

FeedMessage
type: Class
subclass of: Message
subclass of: Restriction
  on property: hasEntity
  some values from: FeedEntity
subclass of: Restriction
  on property: hasHeader
  qualified cardinality: 1
  on class: FeedHeader
comment: The contents of a feed message. A realtime feed is always defined with relation to an existing GTFS feed.

Message
type: Class

Position
type: Class
subclass of: Message

StopTimeEvent
type: Class
subclass of: Message
subclass of: Restriction
  on property: delay
  some values from: string
subclass of: Restriction
  on property: time
  some values from: integer

StopTimeUpdate
type: Class
subclass of: Message
subclass of: Restriction
  on property: arrivalTime
  some values from: duration
subclass of: Restriction
  on property: departureTime
  some values from: duration
subclass of: Restriction
  on property: stopSequence
  some values from: negativeInteger

TimeRange
type: Class
subclass of: Message

TranslatedString
type: Class
subclass of: Message

Translation
type: Class
subclass of: Message

TripDescriptor
type: Class
subclass of: Message

TripUpdate
type: Class
subclass of: Message
subclass of: Restriction
  on property: delay
  some values from: string
subclass of: Restriction
  on property: timestamp
  some values from: string
comment: Realtime update on the progress of a vehicle along a trip

VehicleDescriptor
type: Class
subclass of: Message

VehiclePosition
type: Class
subclass of: Message