diff options
author | Jonas Smedegaard <dr@jones.dk> | 2014-08-15 19:24:20 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2014-08-16 12:46:09 +0200 |
commit | 3504ab9f54b104d91f0e338636fe0916281599e2 (patch) | |
tree | e20f9df76b889b4524dc40d94bab19fee0b07860 | |
parent | 06ec8fe8f33b3b8fdb2337f561cae7d8ae7cdaef (diff) |
Add (a few) german and danish stations, routes and services.
-rw-r--r-- | data/org/db.ttl | 162 | ||||
-rw-r--r-- | data/org/dsb.ttl | 151 | ||||
-rw-r--r-- | data/rail/routes/de/ICE10.ttl | 45 | ||||
-rw-r--r-- | data/rail/routes/de/ICE10a.ttl | 66 | ||||
-rw-r--r-- | data/rail/routes/de/ICE10b.ttl | 59 | ||||
-rw-r--r-- | data/rail/routes/dk/5.ttl | 64 | ||||
-rw-r--r-- | data/rail/trains/de/ICE542.ttl | 93 | ||||
-rw-r--r-- | data/rail/trains/de/ICE552.ttl | 83 | ||||
-rw-r--r-- | data/rail/trains/dk/Togbus56061.ttl | 30 |
9 files changed, 753 insertions, 0 deletions
diff --git a/data/org/db.ttl b/data/org/db.ttl new file mode 100644 index 0000000..9572909 --- /dev/null +++ b/data/org/db.ttl @@ -0,0 +1,162 @@ +@base <http://data.jones.dk/org/db> . +@prefix : <#> . +@prefix dbpedia: <http://dbpedia.org/resource/> . +@prefix foaf: <http://xmlns.com/foaf/0.1/> . +@prefix gr: <http://purl.org/goodrelations/v1#> . +@prefix org: <http://www.w3.org/ns/org#> . +@prefix rail: <http://ontologi.es/rail/vocab#> . +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . +@prefix skos: <http://www.w3.org/2004/02/skos/core#> . +@prefix unit: <http://qudt.org/vocab/unit#> . + +#TODO: use unique key (not skos:altName) for station name abbreviation + +<> foaf:primaryTopic :org . + +:org a org:FormalOrganization ; + skos:prefLabel "Deutche Bahn AG" ; + foaf:Page <https://www.bahn.com/> , + <https://www.bahn.de/> . + +:members-bahncard25 a gr:BusinessEntityType; + skos:prefLabel "Holders of DB Bahncard25 discount cards"@en . + +:platform-berlin-ost-6ad a rail:Platform ; + skos:altLabel "6 A-D" ; + rail:platform_at :station-berlin-ost . + +:platform-berlin-ost-6dg a rail:Platform ; + skos:altLabel "6 D-G" ; + rail:platform_at :station-berlin-ost . + +:platform-berlin-13ad a rail:Platform ; + skos:altLabel "13 A-D" ; + rail:platform_at :station-berlin . + +:platform-berlin-13dg a rail:Platform ; + skos:altLabel "13 D-G" ; + rail:platform_at :station-berlin . + +:platform-berlin-spandau-4ad a rail:Platform ; + skos:altLabel "4 A-D" ; + rail:platform_at :station-berlin-spandau . + +:platform-berlin-spandau-4dg a rail:Platform ; + skos:altLabel "4 D-G" ; + rail:platform_at :station-berlin-spandau . + +:platform-hannover-12 a rail:Platform ; + skos:altLabel "12" ; + rail:platform_at :station-hannover . + +:platform-bielefeld-4 a rail:Platform ; + skos:altLabel "4" ; + rail:platform_at :station-bielefeld . + +:platform-hamm-10ac a rail:Platform ; + skos:altLabel "10 A-C" ; + rail:platform_at :station-hamm . + +:platform-hamm-10dg a rail:Platform ; + skos:altLabel "10 D-G" ; + rail:platform_at :station-hamm . + +:platform-hagen-7 a rail:Platform ; + skos:altLabel "7" ; + rail:platform_at :station-hagen . + +:platform-wuppertal-1 a rail:Platform ; + skos:altLabel "1" ; + rail:platform_at :station-wuppertal . + +:platform-solingen-1 a rail:Platform ; + skos:altLabel "1" ; + rail:platform_at :station-solingen . + +:platform-cologne-6 a rail:Platform ; + skos:altLabel "6" ; + rail:platform_at :station-cologne . + +:platform-dortmund-16 a rail:Platform ; + skos:altLabel "16" ; + rail:platform_at :station-dortmund . + +:platform-bochum-3 a rail:Platform ; + skos:altLabel "3" ; + rail:platform_at :station-bochum . + +:platform-essen-1 a rail:Platform ; + skos:altLabel "1" ; + rail:platform_at :station-essen . + +:platform-duisburg-4 a rail:Platform ; + skos:altLabel "4" ; + rail:platform_at :station-duisburg . + +:platform-düsseldorf-airport-4 a rail:Platform ; + skos:altLabel "4" ; + rail:platform_at :station-düsseldorf-airport . + +:platform-düsseldorf-16 a rail:Platform ; + skos:altLabel "16" ; + rail:platform_at :station-düsseldorf . + +:station-berlin-ost a rail:Station ; + skos:prefLabel "Berlin Ostbahnhof"@de . + +:station-berlin a rail:Station ; + skos:altLabel "Berlin Hbf"@de . + +:station-berlin-spandau a rail:Station ; + skos:prefLabel "Berlin-Spandau"@de . + +:station-hannover a rail:Station ; + skos:prefLabel "Hannover Hauptbahnhof" ; + skos:altLabel "Hannover Hbf"@de ; + rail:serves dbpedia:Hannover . + +:station-bielefeld a rail:Station ; + skos:prefLabel "Bielefeld Hauptbahnhof" ; + skos:altLabel "Bielefeld Hbf"@de ; + rail:serves dbpedia:Bielefeld ; + rdfs:seeAlso dbpedia:Bielefeld_Hauptbahnhof . + +:station-hamm a rail:Station ; + skos:altLabel "Hamm(Westf)"@de . + +:station-hagen a rail:Station ; + skos:altLabel "Hagen Hbf"@de . + +:station-wuppertal a rail:Station ; + skos:altLabel "Wuppertal Hbf"@de . + +:station-solingen a rail:Station ; + skos:altLabel "Solingen Hbf"@de . + +:station-cologne a rail:Station ; + skos:altLabel "Köln Hbf"@de . + +:station-bonn a rail:Station ; + skos:altLabel "Bonn Hbf"@de . + +:station-hamburg a rail:Station ; + skos:prefLabel "Hamburg Hauptbahnhof" ; + rail:serves dbpedia:Hamburg . + +:station-dortmund a rail:Station ; + skos:altLabel "Dortmund Hbf"@de . + +:station-bochum a rail:Station ; + skos:altLabel "Bochum Hbf"@de . + +:station-essen a rail:Station ; + skos:altLabel "Essen Hbf"@de . + +:station-duisburg a rail:Station ; + skos:altLabel "Duisburg Hbf"@de . + +:station-düsseldorf-airport a rail:Station ; + skos:prefLabel "Düsseldorf Flughafen"@de . + +:station-düsseldorf a rail:Station ; + skos:altLabel "Düsseldorf Hbf"@de . diff --git a/data/org/dsb.ttl b/data/org/dsb.ttl new file mode 100644 index 0000000..8a1e762 --- /dev/null +++ b/data/org/dsb.ttl @@ -0,0 +1,151 @@ +@base <http://data.jones.dk/org/dsb> . +@prefix : <#> . +@prefix dbpedia: <http://dbpedia.org/resource/> . +@prefix foaf: <http://xmlns.com/foaf/0.1/> . +@prefix org: <http://www.w3.org/ns/org#> . +@prefix rail: <http://ontologi.es/rail/vocab#> . +@prefix rail-dk-5: <http://data.jones.dk/rail/routes/dk/strækning5#> . +@prefix skos: <http://www.w3.org/2004/02/skos/core#> . +@prefix unit: <http://qudt.org/vocab/unit#> . + +#TODO: use more specific key than skos:altName for station identifiers + +<> foaf:primaryTopic :org . + +:org a org:FormalOrganization ; + skos:prefLabel "DSB" ; + foaf:Page <http://www.dsb.dk/> ; + foaf:Page <http://www.rejseplanen.dk/> . + +:platform-hvalsø-bus a rail:Platform ; + rail:platform_at :station-hvalsø . + +:platform-holbæk-bus a rail:Platform ; + rail:platform_at :station-holbæk . + +:station-aarhus a rail:Station ; + skos:prefLabel "Århus Hovedbanegård" ; + rail:serves dbpedia:Aarhus . + +:station-fredericia a rail:Station ; + skos:prefLabel "Fredericia Banegård" ; + rail:serves dbpedia:Fredericia . + +:station-roskilde a rail:Station ; + skos:prefLabel "Roskilde station"@da ; + foaf:page <https://en.wikipedia.org/wiki/Roskilde_station> ; + skos:altLabel "Ro" ; + rail:serves dbpedia:Roskilde ; + rail:located_at [ + a rail:StationPosition ; + rail:distance [ unit:m 31300 ] ; + rail:along_route rail-dk-5:service + ] . + +:station-lejre a rail:Station ; + skos:prefLabel "Lejre station"@da ; + skos:altLabel "Lj" ; + rail:located_at [ + a rail:StationPosition ; + rail:distance [ unit:m 40800 ] ; + rail:along_route rail-dk-5:service + ] . + +:station-hvalsø a rail:Station ; + skos:prefLabel "Hvalsø station"@da ; + skos:altLabel "Hv" ; + rail:located_at [ + a rail:StationPosition ; + rail:distance [ unit:m 48300 ] ; + rail:along_route rail-dk-5:service + ] . + +:station-tølløse a rail:Station ; + skos:prefLabel "Tølløse station"@da ; + skos:altLabel "Tø" ; + rail:located_at [ + a rail:StationPosition ; + rail:distance [ unit:m 54600 ] ; + rail:along_route rail-dk-5:service + ] . + +:station-vipperød a rail:Station ; + skos:prefLabel "Vipperød station"@da ; + skos:altLabel "Pe" ; + rail:located_at [ + a rail:StationPosition ; + rail:distance [ unit:m 61200 ] ; + rail:along_route rail-dk-5:service + ] . + +:station-holbæk a rail:Station ; + skos:prefLabel "Holbæk station"@da ; + skos:altLabel "Hk" ; + rail:serves dbpedia:Holbæk ; + rail:located_at [ + a rail:StationPosition ; + rail:distance [ unit:m 67100 ] ; + rail:along_route rail-dk-5:service + ] . + +:station-regstrup a rail:Station ; + skos:prefLabel "Regstrup station"@da ; + skos:altLabel "Rt" ; + rail:located_at [ + a rail:StationPosition ; + rail:distance [ unit:m 75200 ] ; + rail:along_route rail-dk-5:service + ] . + +:station-knabstrup a rail:Station ; + skos:prefLabel "Knabstrup station"@da ; + skos:altLabel "Ks" ; + rail:located_at [ + a rail:StationPosition ; + rail:distance [ unit:m 79400 ] ; + rail:along_route rail-dk-5:service + ] . + +:station-mørkøv a rail:Station ; + skos:prefLabel "Mørkøv station"@da ; + skos:altLabel "Mø" ; + rail:located_at [ + a rail:StationPosition ; + rail:distance [ unit:m 82900 ] ; + rail:along_route rail-dk-5:service + ] . + +:station-jyderup a rail:Station ; + skos:prefLabel "Jyderup station"@da ; + rail:located_at [ + a rail:StationPosition ; + rail:distance [ unit:m 89500 ] ; + rail:along_route rail-dk-5:service + ] . + +:station-svebølle a rail:Station ; + skos:prefLabel "Svebølle station"@da ; + skos:altLabel "Sv" ; + rail:located_at [ + a rail:StationPosition ; + rail:distance [ unit:m 97200 ] ; + rail:along_route rail-dk-5:service + ] . + +:station-værslev a rail:Station ; + skos:prefLabel "Værslev station"@da ; + skos:altLabel "Væ" ; + rail:located_at [ + a rail:StationPosition ; + rail:distance [ unit:m 102800 ] ; + rail:along_route rail-dk-5:service + ] . + +:station-kalundborg a rail:Station ; + skos:prefLabel "Kalundborg station"@da ; + skos:altLabel "Kb" ; + rail:located_at [ + a rail:StationPosition ; + rail:distance [ unit:m 110600 ] ; + rail:along_route rail-dk-5:service + ] . diff --git a/data/rail/routes/de/ICE10.ttl b/data/rail/routes/de/ICE10.ttl new file mode 100644 index 0000000..0e1d904 --- /dev/null +++ b/data/rail/routes/de/ICE10.ttl @@ -0,0 +1,45 @@ +@base <http://data.jones.dk/rail/routes/de/ICE10> . +@prefix : <#> . +@prefix dc: <http://purl.org/dc/terms/> . +@prefix foaf: <http://xmlns.com/foaf/0.1/> . +@prefix geo: <http://www.w3.org/2003/01/geo/wgs84_pos#> . +@prefix rail: <http://ontologi.es/rail/vocab#> . +@prefix rail-de: <http://data.jones.dk/org/db#> . +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . + +<> foaf:primaryTopic :route . + +:route a rail:Route ; + foaf:name "Berlin to Hamm Junction"@en ; + foaf:page <https://en.wikipedia.org/wiki/List_of_Intercity-Express_lines#10_.E2.80.93_12> ; + rail:elr "ICE10"@zxx ; + rail:route_origin [ + a geo:SpatialThing ; + rdfs:label "Berlin"@en + ] ; + dc:isPartOf <ICE542> , + <ICE552> ; + rail:stations :stations . + +:stations a rdf:List ; + dc:title "Stations"@en ; + rdfs:member rail-de:station-berlin-ost , + rail-de:station-berlin , + rail-de:station-berlin-spandau , + rail-de:station-hannover , + rail-de:station-bielefeld , + rail-de:station-hamm ; + rdf:first rail-de:station-berlin-ost ; + rdf:rest [ a rdf:List ; + rdf:first rail-de:station-berlin ; + rdf:rest [ a rdf:List ; + rdf:first rail-de:station-berlin-spandau ; + rdf:rest [ a rdf:List ; + rdf:first rail-de:station-hannover ; + rdf:rest [ a rdf:List ; + rdf:first rail-de:station-bielefeld ; + rdf:rest [ a rdf:List ; + rdf:first rail-de:station-hamm ; + rdf:rest <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> + ]]]]] . diff --git a/data/rail/routes/de/ICE10a.ttl b/data/rail/routes/de/ICE10a.ttl new file mode 100644 index 0000000..c4201cf --- /dev/null +++ b/data/rail/routes/de/ICE10a.ttl @@ -0,0 +1,66 @@ +@base <http://data.jones.dk/rail/routes/de/ICE10a> . +@prefix : <#> . +@prefix dc: <http://purl.org/dc/terms/> . +@prefix foaf: <http://xmlns.com/foaf/0.1/> . +@prefix geo: <http://www.w3.org/2003/01/geo/wgs84_pos#> . +@prefix rail: <http://ontologi.es/rail/vocab#> . +@prefix rail-de: <http://data.jones.dk/org/db#> . +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . +@prefix void: <http://rdfs.org/ns/void#> . + +<> foaf:primaryTopic :route . + +:route a rail:Route ; + foaf:name "Berlin To Cologne Line"@en ; + foaf:page <https://en.wikipedia.org/wiki/List_of_Intercity-Express_lines#10_.E2.80.93_12> ; + rail:elr "ICE10a"@zxx ; + rail:route_origin [ + a geo:SpatialThing ; + rdfs:label "Berlin"@en + ] ; + dc:hasPart <ICE10> ; + rail:stations :stations . + +:stations a rdf:List ; + dc:title "Stations"@en ; + rdfs:member rail-de:station-berlin-ost , + rail-de:station-berlin , + rail-de:station-berlin-spandau , + rail-de:station-hannover , + rail-de:station-bielefeld , + rail-de:station-hamm , + rail-de:station-dortmund , + rail-de:station-bochum , + rail-de:station-essen , + rail-de:station-duisburg , + rail-de:station-düsseldorf-airport , + rail-de:station-düsseldorf , + rail-de:station-cologne ; + rdf:first rail-de:station-berlin-ost ; + rdf:rest [ a rdf:List ; + rdf:first rail-de:station-berlin ; + rdf:rest [ a rdf:List ; + rdf:first rail-de:station-berlin-spandau ; + rdf:rest [ a rdf:List ; + rdf:first rail-de:station-hannover ; + rdf:rest [ a rdf:List ; + rdf:first rail-de:station-bielefeld ; + rdf:rest [ a rdf:List ; + rdf:first rail-de:station-hamm ; + rdf:rest [ a rdf:List ; + rdf:first rail-de:station-dortmund ; + rdf:rest [ a rdf:List ; + rdf:first rail-de:station-bochum ; + rdf:rest [ a rdf:List ; + rdf:first rail-de:station-essen ; + rdf:rest [ a rdf:List ; + rdf:first rail-de:station-duisburg ; + rdf:rest [ a rdf:List ; + rdf:first rail-de:station-düsseldorf-airport ; + rdf:rest [ a rdf:List ; + rdf:first rail-de:station-düsseldorf ; + rdf:rest [ a rdf:List ; + rdf:first rail-de:station-cologne ; + rdf:rest <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> + ]]]]]]]]]]]] . diff --git a/data/rail/routes/de/ICE10b.ttl b/data/rail/routes/de/ICE10b.ttl new file mode 100644 index 0000000..4e4bc3c --- /dev/null +++ b/data/rail/routes/de/ICE10b.ttl @@ -0,0 +1,59 @@ +@base <http://data.jones.dk/rail/routes/de/ICE10b> . +@prefix : <#> . +@prefix dc: <http://purl.org/dc/terms/> . +@prefix foaf: <http://xmlns.com/foaf/0.1/> . +@prefix geo: <http://www.w3.org/2003/01/geo/wgs84_pos#> . +@prefix rail: <http://ontologi.es/rail/vocab#> . +@prefix rail-de: <http://data.jones.dk/org/db#> . +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . + +<> foaf:primaryTopic :route . + +:route a rail:Route ; + foaf:name "Berlin To Bonn Line"@en ; + foaf:page <https://en.wikipedia.org/wiki/List_of_Intercity-Express_lines#10_.E2.80.93_12> ; + rail:elr "ICE10b"@zxx ; + rail:route_origin [ + a geo:SpatialThing ; + rdfs:label "Berlin"@en + ] ; + dc:hasPart <ICE10> ; + rail:stations :stations . + +:stations a rdf:List ; + dc:title "Stations"@en ; + rdfs:member rail-de:station-berlin-ost , + rail-de:station-berlin , + rail-de:station-berlin-spandau , + rail-de:station-hannover , + rail-de:station-bielefeld , + rail-de:station-hamm , + rail-de:station-hagen , + rail-de:station-wuppertal , + rail-de:station-solingen , + rail-de:station-cologne , + rail-de:station-bonn ; + rdf:first rail-de:station-berlin-ost ; + rdf:rest [ a rdf:List ; + rdf:first rail-de:station-berlin ; + rdf:rest [ a rdf:List ; + rdf:first rail-de:station-berlin-spandau ; + rdf:rest [ a rdf:List ; + rdf:first rail-de:station-hannover ; + rdf:rest [ a rdf:List ; + rdf:first rail-de:station-bielefeld ; + rdf:rest [ a rdf:List ; + rdf:first rail-de:station-hamm ; + rdf:rest [ a rdf:List ; + rdf:first rail-de:station-hagen ; + rdf:rest [ a rdf:List ; + rdf:first rail-de:station-wuppertal ; + rdf:rest [ a rdf:List ; + rdf:first rail-de:station-solingen ; + rdf:rest [ a rdf:List ; + rdf:first rail-de:station-cologne ; + rdf:rest [ a rdf:List ; + rdf:first rail-de:station-bonn ; + rdf:rest <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> + ]]]]]]]]]] . diff --git a/data/rail/routes/dk/5.ttl b/data/rail/routes/dk/5.ttl new file mode 100644 index 0000000..3a5b1f9 --- /dev/null +++ b/data/rail/routes/dk/5.ttl @@ -0,0 +1,64 @@ +@base <http://data.jones.dk/rail/routes/dk/5> . +@prefix : <#> . +@prefix dc: <http://purl.org/dc/terms/> . +@prefix foaf: <http://xmlns.com/foaf/0.1/> . +@prefix geo: <http://www.w3.org/2003/01/geo/wgs84_pos#> . +@prefix rail: <http://ontologi.es/rail/vocab#> . +@prefix rail-dk: <http://data.jones.dk/org/dsb#> . +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . + +<> foaf:primaryTopic :route . + +:route a rail:Route ; + foaf:name "Nordvestbanen"@en ; + foaf:page <https://en.wikipedia.org/wiki/List_of_railway_lines_in_Denmark#Banedanmark_lines> ; + rail:elr "Strækning5"@zxx ; + rail:route_origin [ + a geo:SpatialThing ; + rdfs:label "Roskilde"@en + ] ; + rail:stations :stations . + +:stations a rdf:List ; + dc:title "Stations"@en ; + rdfs:member rail-dk:station-roskilde , + rail-dk:station-lejre , + rail-dk:station-hvalsø , + rail-dk:station-tølløse , + rail-dk:station-vipperød , + rail-dk:station-holbæk , + rail-dk:station-regstrup , + rail-dk:station-knabstrup , + rail-dk:station-mørkøv , + rail-dk:station-jyderup , + rail-dk:station-svebølle , + rail-dk:station-værslev , + rail-dk:station-kalundborg ; + rdf:first rail-dk:station-roskilde ; + rdf:rest [ a rdf:List ; + rdf:first rail-dk:station-lejre ; + rdf:rest [ a rdf:List ; + rdf:first rail-dk:station-hvalsø ; + rdf:rest [ a rdf:List ; + rdf:first rail-dk:station-tølløse ; + rdf:rest [ a rdf:List ; + rdf:first rail-dk:station-vipperød ; + rdf:rest [ a rdf:List ; + rdf:first rail-dk:station-holbæk ; + rdf:rest [ a rdf:List ; + rdf:first rail-dk:station-regstrup ; + rdf:rest [ a rdf:List ; + rdf:first rail-dk:station-knabstrup ; + rdf:rest [ a rdf:List ; + rdf:first rail-dk:station-mørkøv ; + rdf:rest [ a rdf:List ; + rdf:first rail-dk:station-jyderup ; + rdf:rest [ a rdf:List ; + rdf:first rail-dk:station-svebølle ; + rdf:rest [ a rdf:List ; + rdf:first rail-dk:station-værslev ; + rdf:rest [ a rdf:List ; + rdf:first rail-dk:station-kalundborg ; + rdf:rest <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> + ]]]]]]]]]]]] . diff --git a/data/rail/trains/de/ICE542.ttl b/data/rail/trains/de/ICE542.ttl new file mode 100644 index 0000000..2f58bac --- /dev/null +++ b/data/rail/trains/de/ICE542.ttl @@ -0,0 +1,93 @@ +@base <http://data.jones.dk/rail/routes/de/ICE542> . +@prefix : <#> . +@prefix foaf: <http://xmlns.com/foaf/0.1/> . +#FIXME: add "rail:Train rdfs:subClassOf transit:Schedule" +@prefix rail: <http://ontologi.es/rail/vocab#> . +@prefix rail-de: <http://data.jones.dk/org/db#> . +@prefix rail-de-ice10a: <http://data.jones.dk/rail/routes/de/ICE10a#> . +@prefix tio: <http://purl.org/tio/ns#> . +@prefix transit: <http://vocab.org/transit/terms/> . + +<> foaf:primaryTopic :service . + +:service a rail:Train ; + foaf:name "Berlin To Bonn Service"@en ; + rail:elr "ICE542"@zxx ; + rail:follows_route rail-de-ice10a:route ; + rail:follows_schedule :schedule ; + rail:has_stop :stop-berlin-ost, + :stop-berlin , + :stop-berlin-spandau , + :stop-hannover , + :stop-bielefeld , + :stop-dortmund , + :stop-bochum , + :stop-essen , + :stop-duisburg , + :stop-düsseldorf-airport , + :stop-düsseldorf , + :stop-cologne ; + tio:operatedBy rail-de:org . + +:schedule a rail:TrainSchedule . + +:stop-berlin-ost a rail:TrainStop ; + transit:departureTime "18:36" ; + rail:occur_at rail-de:platform-berlin-ost-6ad . + +:stop-berlin a rail:TrainStop ; + transit:departureTime "18:47" ; + rail:occur_at rail-de:platform-berlin-13ad . + +:stop-berlin-spandau a rail:TrainStop ; + transit:departureTime "19:02" ; + rail:occur_at rail-de:platform-berlin-spandau-4ad . + +:stop-hannover a rail:TrainStop ; + transit:arrivalTime "20:28" ; + transit:departureTime "20:31" ; + rail:occur_at rail-de:platform-hannover-12 . + +:stop-bielefeld a rail:TrainStop ; + transit:arrivalTime "21:20" ; + transit:arrivalTime "21:22" ; + rail:occur_at rail-de:platform-bielefeld-4 . + +:stop-hamm a rail:TrainStop ; + transit:arrivalTime "21:48" ; + transit:departureTime "21:52" ; + rail:occur_at rail-de:platform-hamm-10dg . + +:stop-dortmund a rail:TrainStop ; + transit:arrivalTime "22:09" ; + transit:departureTime "22:12" ; + rail:occur_at rail-de:platform-dortmund-16 . + +:stop-bochum a rail:TrainStop ; + transit:arrivalTime "22:22" ; + transit:departureTime "22:24" ; + rail:occur_at rail-de:platform-bochum-3 . + +:stop-essen a rail:TrainStop ; + transit:arrivalTime "22:34" ; + transit:departureTime "22:36" ; + rail:occur_at rail-de:platform-essen-1 . + +:stop-duisburg a rail:TrainStop ; + transit:arrivalTime "22:47" ; + transit:departureTime "22:49" ; + rail:occur_at rail-de:platform-duisburg-4 . + +:stop-düsseldorf-airport a rail:TrainStop ; + transit:arrivalTime "22:57" ; + transit:departureTime "22:59" ; + rail:occur_at rail-de:platform-düsseldorf-airport-4 . + +:stop-düsseldorf a rail:TrainStop ; + transit:arrivalTime "23:06" ; + transit:departureTime "23:08" ; + rail:occur_at rail-de:platform-düsseldorf-16 . + +:stop-cologne a rail:TrainStop ; + transit:arrivalTime "23:30" ; + rail:occur_at rail-de:platform-cologne-6 . diff --git a/data/rail/trains/de/ICE552.ttl b/data/rail/trains/de/ICE552.ttl new file mode 100644 index 0000000..bb0f5a3 --- /dev/null +++ b/data/rail/trains/de/ICE552.ttl @@ -0,0 +1,83 @@ +@base <http://data.jones.dk/rail/routes/de/ICE552> . +@prefix : <#> . +@prefix foaf: <http://xmlns.com/foaf/0.1/> . +#FIXME: add "rail:Train rdfs:subClassOf transit:Schedule" +@prefix rail: <http://ontologi.es/rail/vocab#> . +@prefix rail-de: <http://data.jones.dk/org/db#> . +@prefix rail-de-ice10b: <http://data.jones.dk/rail/routes/de/ICE10b#> . +@prefix tio: <http://purl.org/tio/ns#> . +@prefix transit: <http://vocab.org/transit/terms/> . + +<> foaf:primaryTopic :service . + +:service a rail:Train ; + foaf:name "Berlin To Bonn Service"@en ; + rail:elr "ICE552"@zxx ; + rail:follows_route rail-de-ice10b:route ; + rail:follows_schedule :schedule ; + rail:has_stop :stop-berlin-ost, + :stop-berlin , + :stop-berlin-spandau , + :stop-hannover , + :stop-bielefeld , + :stop-hamm , + :stop-hagen , + :stop-wuppertal , + :stop-solingen , + :stop-cologne , + :stop-bonn ; + tio:operatedBy rail-de:org . + +:schedule a rail:TrainSchedule . + +:stop-berlin-ost a rail:TrainStop ; + transit:departureTime "18:36" ; + rail:occur_at rail-de:platform-berlin-ost-6dg . + +:stop-berlin a rail:TrainStop ; + transit:departureTime "18:47" ; + rail:occur_at rail-de:platform-berlin-13dg . + +:stop-berlin-spandau a rail:TrainStop ; + transit:departureTime "19:02" ; + rail:occur_at rail-de:platform-berlin-spandau-4dg . + +:stop-hannover a rail:TrainStop ; + transit:arrivalTime "20:28" ; + transit:departureTime "20:31" ; + rail:occur_at rail-de:platform-hannover-12 . + +:stop-bielefeld a rail:TrainStop ; + transit:arrivalTime "21:20" ; + transit:arrivalTime "21:22" ; + rail:occur_at rail-de:platform-bielefeld-4 . + +:stop-hamm a rail:TrainStop ; + transit:arrivalTime "21:48" ; + transit:departureTime "21:54" ; + rail:occur_at rail-de:platform-hamm-10ac . + +:stop-hagen a rail:TrainStop ; + transit:arrivalTime "22:22" ; + transit:departureTime "22:24" ; + rail:occur_at rail-de:platform-hagen-7 . + +:stop-wuppertal a rail:TrainStop ; + transit:arrivalTime "22:39" ; + transit:departureTime "22:41" ; + rail:occur_at rail-de:platform-wuppertal-1 . + +:stop-solingen a rail:TrainStop ; + transit:arrivalTime "22:52" ; + transit:departureTime "22:54" ; + rail:occur_at rail-de:platform-solingen-1 . + +:stop-cologne a rail:TrainStop ; + transit:arrivalTime "23:13" ; + transit:departureTime "23:18" ; + rail:occur_at rail-de:platform-cologne-6 . + +#TODO: add platform +:stop-bonn a rail:TrainStop ; + transit:arrivalTime "23:39" ; + rail:occur_at [ rail:platform_at rail-de:station-bonn ] . diff --git a/data/rail/trains/dk/Togbus56061.ttl b/data/rail/trains/dk/Togbus56061.ttl new file mode 100644 index 0000000..d5c8bf0 --- /dev/null +++ b/data/rail/trains/dk/Togbus56061.ttl @@ -0,0 +1,30 @@ +@base <http://data.jones.dk/rail/routes/dk/Togbus56061> . +@prefix : <#> . +@prefix foaf: <http://xmlns.com/foaf/0.1/> . +#FIXME: add "rail:Train rdfs:subClassOf transit:Schedule" +@prefix rail: <http://ontologi.es/rail/vocab#> . +@prefix rail-dk: <http://data.jones.dk/org/dsb#> . +@prefix rail-dk-5: <http://data.jones.dk/rail/routes/dk/5#> . +@prefix tio: <http://purl.org/tio/ns#> . +@prefix transit: <http://vocab.org/transit/terms/> . + +<> foaf:primaryTopic :service . + +:service a rail:Train ; + foaf:name "Roskilde To Kalundborg Service"@en ; + rail:elr "Togbus56061"@zxx ; + rail:follows_route rail-dk-5:route ; + rail:follows_schedule :schedule ; + rail:has_stop :stop-hvalsø, + :stop-holbæk ; + tio:operatedBy rail-dk:org . + +:schedule a rail:TrainSchedule . + +:stop-hvalsø a rail:TrainStop ; + transit:departureTime "21:13" ; + rail:occur_at rail-dk:platform-hvalsø-bus . + +:stop-holbæk a rail:TrainStop ; + transit:arrivalTime "21:38" ; + rail:occur_at rail-dk:platform-holbæk-bus . |