gtfs:Timeframe leaf node


URI

http://ontology.gtfs.org/reference#Timeframe

Label

Timeframe

Description

Defines a timeframe (e.g. Peak/Off-Peak) for fare rules.

Shapes (1)

Usage

Instances of gtfs:Timeframe can have the following properties:

PROPERTYTYPEDESCRIPTIONRANGE
From class gtfs:Timeframe
gtfs:timeframe_group_id rdf:Property Identifies a specific timeframe. xsd:string
From class owl:Thing
gtfs:booking_rule rdf:Property gtfs:BookingRule
gtfs:drop_off_booking_rule rdf:Property Booking rule for drop off. gtfs:BookingRule
gtfs:end_time rdf:Property Time when the timeframe ends. xsd:string
gtfs:fare_id rdf:Property Identifies a fare class. xsd:string
gtfs:fare_media_id rdf:Property Identifies a fare media. xsd:string
gtfs:fare_product_id rdf:Property Identifies a fare product. xsd:string
gtfs:leg_group_id rdf:Property Identifies a group of legs for fare calculation. xsd:string
gtfs:location rdf:Property The GeoJSON location for this stop time. gtfs:GeoJsonLocation
gtfs:location_group rdf:Property The location group for this stop time. gtfs:LocationGroup
gtfs:pickup_booking_rule rdf:Property Booking rule for pickup. gtfs:BookingRule
gtfs:rider_category_id rdf:Property Identifies a rider category. xsd:string
gtfs:route rdf:Property The route that this trip is part of. gtfs:Route
gtfs:route_id rdf:Property Identifies a route. xsd:string
gtfs:start_time rdf:Property Time when the timeframe begins. xsd:string
gtfs:stop_id rdf:Property Identifies a location: stop/platform, station, entrance/exit, generic node or boarding area. xsd:string
gtfs:trip_id rdf:Property Identifies a trip. xsd:string

Property Shapes

By the associated SHACL property shapes, instances of gtfs:Timeframe can have the following properties:

PROPERTY

PROPERTY TYPE

DESCRIPTION

MIN COUNT

MAX COUNT

LOCAL RANGE
(type range for property on this class)

GLOBAL RANGE
(type range for property globally)

gtfs:Timeframe
gtfs:end_time rdf:Property Hora cuando termina el marco de tiempo.<br>Hora em que o marco de tempo termina.<br>Time when the timeframe ends.
xsd:string
xsd:string
gtfs:service_id rdf:Property Identifies a set of dates when service is available for one or more routes.<br>Identifica um conjunto de datas em que o serviço está disponível para uma ou mais rotas.<br>Identifica un conjunto de fechas en las que el servicio está disponible para una o más rutas.
1 xsd:string
xsd:string
gtfs:start_time rdf:Property Time when the timeframe begins.<br>Hora cuando comienza el marco de tiempo.<br>Hora em que o marco de tempo começa.
xsd:string
xsd:string
gtfs:timeframe_group_id rdf:Property Identifica un marco de tiempo específico.<br>Identifies a specific timeframe.<br>Identifica um marco de tempo específico.
1 xsd:string
xsd:string

Implementation

@prefix gtfs: <http://ontology.gtfs.org/reference#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

gtfs:Timeframe a rdfs:Class ;
    rdfs:label "Timeframe"@en,
        "Marco de Tiempo"@es,
        "Marco de Tempo"@pt ;
    rdfs:comment "Defines a timeframe (e.g. Peak/Off-Peak) for fare rules."@en,
        "Define un marco de tiempo (por ejemplo, hora pico/valle) para las reglas de tarifas."@es,
        "Define um marco de tempo (por exemplo, Pico/Fora de Pico) para regras de tarifa."@pt .