Ontology for the representation of journey elements in the Trias ontology
type: Ontology
version IRI: https://w3id.org/mobility/trias/journey/0.1
imports: https://w3id.org/mobility/trias/common/0.1
imports: https://w3id.org/mobility/trias/mode/0.1
imports: https://w3id.org/mobility/trias/utility/0.1
license: 2022-03-22
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: Trias - Journey Travellor Realtime Information and Advisory Standard
rights: Creative Commons Attribution 4.0 International (CC BY 4.0)
license: http://creativecommons.org/licenses/by/4.0/
label: Trias - Travellor Realtime Information and Advisory Standard

destinationText
type: ObjectProperty
domain: DatedJourney
range: InternationalText

hasAttribute
type: ObjectProperty
domain: Class
  union of: ContinuousService
  union of: DatedJourney
  union of: InterchangeLeg
range: ServiceAttribute

hasMode
type: ObjectProperty
domain: ServiceSection
range: Mode

hasServiceSection
type: ObjectProperty
domain: Class
  union of: ContinuousService
  union of: DatedJourney
range: ServiceSection
comment: Sequence of stop sequence intervals with respective service properties.

hasVia
type: ObjectProperty

originText
type: ObjectProperty
domain: Class
  union of: ContinuousService
  union of: DatedJourney
range: InternationalText
comment: Label for first stop.

projection
type: ObjectProperty
domain: TrackSection
range: GeoPosition
comment: Geographic projection as polyline.

publishedLineName
type: ObjectProperty
domain: ServiceSection
range: InternationalText

routeDescription
type: ObjectProperty
domain: ServiceSection
range: InternationalText

service
type: ObjectProperty
domain: ParallelService
range: DatedJourney
comment: Relation from the parallel service.

sharingService
type: ObjectProperty
domain: ContinuousService
range: SharingService

cancelled
type: DatatypeProperty
domain: DatedJourney
range: boolean
comment: Whether this trip is cancelled and will not be run. Default is false.

destinationStopPointRef
type: DatatypeProperty
domain: DatedJourney
range: string
comment: Last stop of vehicle journey.

deviation
type: DatatypeProperty
domain: DatedJourney
range: boolean
comment: Whether this trip deviates from the planned service pattern. Default is false.

directionRef
type: DatatypeProperty
domain: ServiceSection
range: string

duration
type: DatatypeProperty
domain: TrackSection
range: string
comment: Duration the passenger needs to travel through this track section.

estimatedTime
type: DatatypeProperty
domain: ServiceCall
range: dateTime
comment: estimated time (for prognosis)

estimatedTimeHigh
type: DatatypeProperty
domain: ServiceCall
range: dateTime
comment: Estimated upper limit for time.

estimatedTimeLow
type: DatatypeProperty
domain: ServiceCall
range: dateTime
comment: Estimated lower limit for time.

fromStopSeqNumber
type: DatatypeProperty
range: positiveInteger
comment: Stop sequence number, where the interval ends (inclusive). If missing, the interval ends at the end of the leg (or at the end of the journey for uses in StopEvents and TripInfo).

journeyRef
type: DatatypeProperty
domain: DatedJourney
range: string

length
type: DatatypeProperty
domain: Class
  union of: TrackSection
  union of: InterchangeLeg
range: float
comment: Length of this track section or interchange path

lineRef
type: DatatypeProperty
domain: ServiceSection
range: string

operatingDayRef
type: DatatypeProperty
domain: DatedJourney
range: string

operatorRef
type: DatatypeProperty
domain: ServiceSection
range: string

originStopPointRef
type: DatatypeProperty
range: string

recordedAtTime
type: DatatypeProperty
domain: ServiceCall
range: dateTime
comment: Time as it was recorded.

roadName
type: DatatypeProperty
domain: TrackSection
range: string
comment: Name of the road this track section is attached to.

scope
type: DatatypeProperty
domain: ServiceAttribute
range: string
comment: Scope of the attribute. Defines where the attribute references to (on track, at stops, at boarding, at alighting).

timetabledTime
type: DatatypeProperty
domain: ServiceCall
range: dateTime
comment: Time at point as it is published

toStopSeqNumber
type: DatatypeProperty
range: positiveInteger
comment: Stop sequence number, where the interval begins (inclusive). If missing, the interval begins at the beginning of the leg (or at the beginning of the journey for uses in StopEvents and TripInfo).

unplanned
type: DatatypeProperty
domain: DatedJourney
range: boolean
comment: Whether this trip is an additional one that has not been planned. Default is false.

vehicleRef
type: DatatypeProperty
domain: DatedJourney
range: string

ContinuousService
type: Class
subclass of: Restriction
  some values from: ServiceAttribute
  on property: hasAttribute
subclass of: Restriction
  on class: ServiceSection
  min qualified cardinality: 1
  on property: hasServiceSection
subclass of: Restriction
  on class: InternationalText
  min qualified cardinality: 1
  on property: originText
comment: Represent a passenger movement on a continuous service.

DatedJourney
type: Class
subclass of: Restriction
  some values from: ServiceAttribute
  on property: hasAttribute
subclass of: Restriction
  on class: InternationalText
  min qualified cardinality: 1
  on property: destinationText
subclass of: Restriction
  on class: ServiceSection
  min qualified cardinality: 1
  on property: hasServiceSection
subclass of: Restriction
  on class: InternationalText
  min qualified cardinality: 1
  on property: originText
subclass of: Restriction
  on data range: string
  qualified cardinality: 1
  on property: journeyRef
subclass of: Restriction
  on data range: string
  qualified cardinality: 1
  on property: operatingDayRef
subclass of: Restriction
  on data range: string
  max qualified cardinality: 1
  on property: cancelled
subclass of: Restriction
  on data range: string
  max qualified cardinality: 1
  on property: destinationStopPointRef
subclass of: Restriction
  on data range: string
  max qualified cardinality: 1
  on property: deviation
subclass of: Restriction
  on data range: string
  max qualified cardinality: 1
  on property: originStopPointRef
subclass of: Restriction
  on data range: string
  max qualified cardinality: 1
  on property: unplanned
subclass of: Restriction
  on data range: string
  max qualified cardinality: 1
  on property: vehicleRef
comment: Structure for a vehicle journey at a specific date.

ParallelService
type: Class
subclass of: Restriction
  on class: DatedJourney
  qualified cardinality: 1
  on property: service
subclass of: Restriction
  on data range: positiveInteger
  max qualified cardinality: 1
  on property: fromStopSeqNumber
subclass of: Restriction
  on data range: positiveInteger
  max qualified cardinality: 1
  on property: toStopSeqNumber
comment: Structure combining a parallel running service with a stop sequence interval.

ServiceAttribute
type: Class
subclass of: GeneralAttribute
subclass of: Restriction
  on class: InternationalText
  min qualified cardinality: 1
  on property: destinationText
subclass of: Restriction
  on data range: string
  max qualified cardinality: 1
  on property: fromStopSeqNumber
subclass of: Restriction
  on data range: string
  max qualified cardinality: 1
  on property: scope
subclass of: Restriction
  on data range: string
  max qualified cardinality: 1
  on property: toStopSeqNumber

ServiceCall
type: Class
subclass of: Restriction
  on data range: dateTime
  qualified cardinality: 1
  on property: timetabledTime
subclass of: Restriction
  on data range: dateTime
  max qualified cardinality: 1
  on property: estimatedTime
subclass of: Restriction
  on data range: dateTime
  max qualified cardinality: 1
  on property: estimatedTimeHigh
subclass of: Restriction
  on data range: dateTime
  max qualified cardinality: 1
  on property: estimatedTimeLow
subclass of: Restriction
  on data range: dateTime
  max qualified cardinality: 1
  on property: recordedAtTime
comment: Contains information on an arrival or departure of a service, e.g. time.

ServiceSection
type: Class
subclass of: Restriction
  some values from: ServiceViaPoint
  on property: hasVia
subclass of: Restriction
  some values from: InternationalText
  on property: routeDescription
subclass of: Restriction
  on class: InternationalText
  min qualified cardinality: 1
  on property: publishedLineName
subclass of: Restriction
  on class: Mode
  qualified cardinality: 1
  on property: hasMode
subclass of: Restriction
  on data range: string
  qualified cardinality: 1
  on property: directionRef
subclass of: Restriction
  on data range: string
  qualified cardinality: 1
  on property: lineRef
subclass of: Restriction
  on data range: positiveInteger
  max qualified cardinality: 1
  on property: fromStopSeqNumber
subclass of: Restriction
  on data range: string
  max qualified cardinality: 1
  on property: operatorRef
subclass of: Restriction
  on data range: positiveInteger
  max qualified cardinality: 1
  on property: toStopSeqNumber
comment: Class from a service combined with a stop sequence interval.

ServiceViaPoint
type: Class
subclass of: Error1
subclass of: Error2
subclass of: Restriction
  some values from: InternationalText
  on property: hasEstimatedBay
subclass of: Restriction
  some values from: InternationalText
  on property: hasNameSuffix
subclass of: Restriction
  some values from: InternationalText
  on property: hasPlannedBay
comment: Stop place or stop point as a via point (in service pattern).

TrackSection
type: Class
subclass of: Restriction
  on class: GeoPosition
  max qualified cardinality: 1
  on property: projection
subclass of: Restriction
  on data range: float
  max qualified cardinality: 1
  on property: duration
subclass of: Restriction
  on data range: float
  max qualified cardinality: 1
  on property: length
subclass of: Restriction
  on data range: string
  max qualified cardinality: 1
  on property: roadName
comment: A piece of a trip. A trip leg.may consist of multiple TrackSections. Describes the geographic embedding.

min qualified cardinality: 1

qualified cardinality: 1