Ontology for the representation of commons elements in the Trias ontology
type: Ontology
version IRI: https://w3id.org/mobility/trias/common/0.1
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: Common module represent 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: Common module represent concepts and properties that are general enough to be used across all modules.

InfoUrl
type: ObjectProperty
domain: SharingService
range: WebLink
comment: Link to web page providing more details on service.

hasEstimatedBay
type: ObjectProperty
sub property of: stopPointGroup
range: InternationalText

hasNameSuffix
type: ObjectProperty
sub property of: stopPointGroup
range: InternationalText

hasPlannedBay
type: ObjectProperty
sub property of: stopPointGroup
range: InternationalText

hasStopPointName
type: ObjectProperty
sub property of: stopPointGroup
range: InternationalText

hasText
type: ObjectProperty
domain: ErrorMessage
range: InternationalText
comment: Description of error state.

code
type: DatatypeProperty
domain: ErrorMessage
comment: Code of error state.

from
type: DatatypeProperty
domain: OperatingDays
range: dateTime
comment: Start date of duration.

pattern
type: DatatypeProperty
domain: OperatingDays
range: string
comment: Bit pattern for operating days in the period from the start date (From) to end date (To). The length of the bit pattern in Pattern corresponds to the number of days from From to To. “1” means that the event in question takes place on the day which corresponds to the position in the bit pattern.

sharingServiceName
type: DatatypeProperty
domain: SharingService
range: string
comment: Public name of the service.

timeBufferAfter
type: DatatypeProperty
comment: Typical time a user will need to lock the vehicle and check out.

timeBufferBefore
type: DatatypeProperty
domain: SharingService
range: string
comment: Typical time a user will need to check in and unlock the vehicle.

to
type: DatatypeProperty
domain: OperatingDays
range: dateTime
comment: End date of duration.

ErrorMessage
type: Class
subclass of: Restriction
  some values from: InternationalText
  on property: hasText
comment: Class that describes error messages based on the overall response of the request

GeneralAttribute
type: Class
comment: Structured attribute classification with associated text.

OperatingDays
type: Class
subclass of: Restriction
  on data range: dateTime
  qualified cardinality: 1
  on property: from
subclass of: Restriction
  on data range: string
  qualified cardinality: 1
  on property: pattern
subclass of: Restriction
  on data range: dateTime
  qualified cardinality: 1
  on property: to
comment: Structure for defining operating days using bit-chain.

SharingService
type: Class
subclass of: Restriction
  on class: WebLink
  max qualified cardinality: 1
  on property: InfoUrl
subclass of: Restriction
  on data range: string
  max qualified cardinality: 1
  on property: sharingServiceName
subclass of: Restriction
  on data range: string
  max qualified cardinality: 1
  on property: timeBufferAfter
subclass of: Restriction
  on data range: string
  max qualified cardinality: 1
  on property: timeBufferBefore
comment: Service that provides shared vehicles.