Linked Connections

Linked Connections

Mimicking algorithm:

Linked Connections is a method for publishing transit data using a low-cost API. It does this by exposing data in JSON(-LD). This data describe transport connections between possible stops, sorted through time. This makes it possible to efficiently do route planning based on this information. More information:


To use this data, you will need a MongoDB (>= 2.6) server and a GTFS file. You can find some Belgian GTFS files here:

The next step is to convert the GTFS file(s) to Linked Connections. This can be done using this tool:

Once the Linked Connections have been generated, they can be imported into a MongoDB server and the Linked Connections server can be started as described here:

The connections are now exposed using an HTTP API. They can for example be used using the LC's route planner:


Each connection is made up of the following JSON(-LD) object:

{ "@type":"Connection", "arrivalTime":"2015-10-03T11:53:00.000Z", "arrivalStop":"8842036", "departureTime":"2015-10-03T11:50:00.000Z", "departureStop":"8844271", "trip":"7395", "route":"228", "@id":"5609c2e663f63e825828f8db" } Such a connection contains information about the arrival and departure times. The arrival stop and departure stops are references by stop id, the LC-client is able to dereference this id. A trip is the id for a single edge between two stops. A route is the id of the route a certain train goes over regularly, this consists of one or more trips.

An example dataset for October 2015 can be found here: view-source:

Information about enrichment step:


Example data fragment:

Data and Resources

Additional Info

Field Value
External Description
Contact Ruben Taelman
Contact Email
Benchmark Generation and Acquisition