W3C home > Mailing lists > Public > semantic-web@w3.org > January 2011

Re: Datasets on UK transport ?

From: Martin Hepp <martin.hepp@ebusiness-unibw.org>
Date: Thu, 20 Jan 2011 14:49:14 +0100
Cc: Andrea Splendiani <andrea.splendiani@bbsrc.ac.uk>
Message-Id: <F8B6696C-7945-4E6D-B7CA-C0BACD93C5B8@ebusiness-unibw.org>
To: Toby Inkster <tai@g5n.co.uk>, semantic-web@w3.org
Hi:

Just related: If you want to publish

- timetable and connection information or
- ticket / fare information,

you can use any existing point of interest instances in combination  
with the Tickets Ontology,

    http://purl.org/tio/ns

For example, you can say there is a train connection betweet two  
locations:

# Station 1: <http://dbpedia.org/resource/King%27s_Cross_St._Pancras_tube_station 
 >
# Station 2: <http://dbpedia.org/resource/Euston_Square_tube_station>

foo:subway1234 a tio:TrainService ;
     tio:from <http://dbpedia.org/resource/King%27s_Cross_St._Pancras_tube_station 
 > ;
     tio:to <http://dbpedia.org/resource/Euston_Square_tube_station> .

foo:ticket6 a tio:TicketPlaceholder ;
         rdfs:label "Subway ticket from King's Cross to Euston  
Square"@en ;
         tio:accessTo foo:subway1234 .


or you can materialize a time-table:

# Airfare
# FRA: <http://dbpedia.org/resource/Frankfurt_Airport>
# HRH: <http://dbpedia.org/resource/London_Heathrow_Airport>

foo:LH1234 a tio:Flight ;
     tio:from [ a tio:Stop ;
                tio:at <http://dbpedia.org/resource/Frankfurt_Airport> ;
                tio:departs "2010-11-12T20:00:00Z"^^xsd:dateTime ] ;
     tio:to [ a tio:Stop ;
                tio:at <http://dbpedia.org/resource/London_Heathrow_Airport 
 > ;
                tio:arrives "2010-11-12T21:45:00Z"^^xsd:dateTime ] ;
     tio:availableServiceLevel tio:Economy, tio:BusinessClass ;
     tio:operatedBy  <http://dbpedia.org/resource/Lufthansa> .

Best

Martin

On 20.01.2011, at 13:45, Toby Inkster wrote:

> On Thu, 20 Jan 2011 01:32:18 +0000
> Andrea Splendiani <andrea.splendiani@bbsrc.ac.uk> wrote:
>
>> very interesting, where did you get the data from ? I mean, I've seen
>> the sources, but did you extract data from National Railways ? At a
>> first look, it looks like the coverage is good as well.
>
> Scraping HTML and cross-referncing data from multiple sources.
>
> One of the key sources is Phil Deaves' "Railways codes and other data"
> website. In particular, the station listings, after a bit of
> processing, are the key to figuring out connectivity.
>
> For instance:
> http://deaves47.users.btopenworld.com/stations/stationl.htm
>
> Currently the London Underground is not covered. Some other stations
> only served by metropolitan light rail may also be missing. Heritage
> railways are also mostly missing.
>
> -- 
> Toby A Inkster
> <mailto:mail@tobyinkster.co.uk>
> <http://tobyinkster.co.uk>
>
>
Received on Thursday, 20 January 2011 13:49:45 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:48:20 UTC