summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2015-12-21 15:35:25 +0530
committerJonas Smedegaard <dr@jones.dk>2015-12-21 15:35:25 +0530
commite6743bea24beb5d0d60ab4ae1d7d7168d3169a3e (patch)
treeac4bb9a516a2ae92e456fad74ad4cd855f05e9fd
parent5439bf064edc0fa7cdef9afc9f36e09051d08eb7 (diff)
Add german routes KBS120 KBS385, and add/update related stations Bremen Hamburg-Harburg Hamburg Münster Osnabrück.
-rw-r--r--data/rail/de/route/KBS120.ttl33
-rw-r--r--data/rail/de/route/KBS385.ttl33
-rw-r--r--data/rail/de/station/bremen.ttl8
-rw-r--r--data/rail/de/station/hamburg-harburg.ttl24
-rw-r--r--data/rail/de/station/hamburg.ttl5
-rw-r--r--data/rail/de/station/múnster.ttl23
-rw-r--r--data/rail/de/station/osnabrück.ttl23
7 files changed, 149 insertions, 0 deletions
diff --git a/data/rail/de/route/KBS120.ttl b/data/rail/de/route/KBS120.ttl
new file mode 100644
index 0000000..10452a1
--- /dev/null
+++ b/data/rail/de/route/KBS120.ttl
@@ -0,0 +1,33 @@
+@base <http://data.jones.dk/rail/de/route/KBS120> .
+@prefix : <#> .
+@prefix dbpedia: <http://dbpedia.org/resource/> .
+@prefix dc: <http://purl.org/dc/terms/> .
+@prefix rail: <http://ontologi.es/rail/vocab#> .
+@prefix rail-de: <http://data.jones.dk/rail/de#> .
+@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
+
+<> a rail:Route ;
+ skos:prefLabel "Bremen-Hamburg"@en ;
+ skos:altLabel "KBS120"@zxx ;
+ rdfs:seeAlso
+ <https://en.wikipedia.org/wiki/Wanne-Eickel%E2%80%93Hamburg_railway> ,
+ <https://en.wikipedia.org/wiki/List_of_scheduled_railway_routes_in_Germany#Hamburg_and_coastal_region_.28100_to_199.29> ;
+ rail:route_origin rail-de:station-bremen ;
+ dc:isPartOf <IC30> ;
+ rail:stations :stations .
+
+:stations a rdf:List ;
+ skos:prefLabel "Stations"@en ;
+ rdfs:member
+ rail-de:station-bremen ,
+ rail-de:station-hamburg-harburg ,
+ rail-de:station-hamburg ;
+ rdf:first rail-de:station-bremen ;
+ rdf:rest [ a rdf:List ;
+ rdf:first rail-de:station-hamburg-harburg ;
+ rdf:rest [ a rdf:List ;
+ rdf:first rail-de:station-hamburg ;
+ rdf:rest <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil>
+ ]] .
diff --git a/data/rail/de/route/KBS385.ttl b/data/rail/de/route/KBS385.ttl
new file mode 100644
index 0000000..07c53c9
--- /dev/null
+++ b/data/rail/de/route/KBS385.ttl
@@ -0,0 +1,33 @@
+@base <http://data.jones.dk/rail/de/route/KBS385> .
+@prefix : <#> .
+@prefix dbpedia: <http://dbpedia.org/resource/> .
+@prefix dc: <http://purl.org/dc/terms/> .
+@prefix rail: <http://ontologi.es/rail/vocab#> .
+@prefix rail-de: <http://data.jones.dk/rail/de#> .
+@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
+
+<> a rail:Route ;
+ skos:prefLabel "Münster-Bremen"@en ;
+ skos:altLabel "KBS385"@zxx ;
+ rdfs:seeAlso
+ <https://en.wikipedia.org/wiki/Wanne-Eickel%E2%80%93Hamburg_railway> ,
+ <https://en.wikipedia.org/wiki/List_of_scheduled_railway_routes_in_Germany#Lower_Saxony.2FSaxony-Anhalt_region_.28300_to_399.29> ;
+ rail:route_origin rail-de:station-bremen ;
+ dc:isPartOf <IC30> ;
+ rail:stations :stations .
+
+:stations a rdf:List ;
+ skos:prefLabel "Stations"@en ;
+ rdfs:member
+ rail-de:station-bremen ,
+ rail-de:station-osnabrück ,
+ rail-de:station-münster ;
+ rdf:first rail-de:station-bremen ;
+ rdf:rest [ a rdf:List ;
+ rdf:first rail-de:station-osnabrück ;
+ rdf:rest [ a rdf:List ;
+ rdf:first rail-de:station-münster ;
+ rdf:rest <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil>
+ ]] .
diff --git a/data/rail/de/station/bremen.ttl b/data/rail/de/station/bremen.ttl
index b27e102..6469f6c 100644
--- a/data/rail/de/station/bremen.ttl
+++ b/data/rail/de/station/bremen.ttl
@@ -5,7 +5,9 @@
@prefix org: <http://www.w3.org/ns/org#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rail: <http://ontologi.es/rail/vocab#> .
+@prefix rail-de-route: <http://data.jones.dk/rail/de/route#> .
@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
@@ -15,6 +17,12 @@
skos:prefLabel "Bremen Hauptbahnhof" ;
skos:altLabel "Bremen Hbf"@de ;
rail:serves dbpedia:Bremen ;
+ rail:located_at [ a rail:StationPosition ;
+ rail:distance [ unit:m 239700 ] ;
+ rail:along_route rail-de-route:KBS120
+ ], [ a rail:StationPosition ;
+ rail:distance [ unit:m 239700 ] ;
+ rail:along_route rail-de-route:KBS385 ] ;
owl:sameAs dbpedia:Bremen_Hauptbahnhof .
:platform-1 a rail:Platform ;
diff --git a/data/rail/de/station/hamburg-harburg.ttl b/data/rail/de/station/hamburg-harburg.ttl
new file mode 100644
index 0000000..5ef3dca
--- /dev/null
+++ b/data/rail/de/station/hamburg-harburg.ttl
@@ -0,0 +1,24 @@
+@base <http://data.jones.dk/rail/de/station/hamburg-harburg> .
+@prefix : <#> .
+@prefix dbpedia: <http://dbpedia.org/resource/> .
+@prefix foaf: <http://xmlns.com/foaf/0.1/> .
+@prefix org: <http://www.w3.org/ns/org#> .
+@prefix owl: <http://www.w3.org/2002/07/owl#> .
+@prefix rail: <http://ontologi.es/rail/vocab#> .
+@prefix rail-de-route: <http://data.jones.dk/rail/de/route#> .
+@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 .
+
+:station a rail:Station ;
+ skos:prefLabel
+ "Hamburg-Harburg station" ,
+ "Bahnhof Hamburg-Harburg"@de ;
+ rail:serves dbpedia:Hamburg-Harburg ;
+ rail:located_at [ a rail:StationPosition ;
+ rail:distance [ unit:m 343300 ] ;
+ rail:along_route rail-de-route:KBS120 ] ;
+ owl:sameAs dbpedia:Hamburg-Harburg_station .
diff --git a/data/rail/de/station/hamburg.ttl b/data/rail/de/station/hamburg.ttl
index 820ecfe..1d2a224 100644
--- a/data/rail/de/station/hamburg.ttl
+++ b/data/rail/de/station/hamburg.ttl
@@ -5,7 +5,9 @@
@prefix org: <http://www.w3.org/ns/org#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rail: <http://ontologi.es/rail/vocab#> .
+@prefix rail-de-route: <http://data.jones.dk/rail/de/route#> .
@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
@@ -14,4 +16,7 @@
:station a rail:Station ;
skos:prefLabel "Hamburg Hauptbahnhof" ;
rail:serves dbpedia:Hamburg ;
+ rail:located_at [ a rail:StationPosition ;
+ rail:distance [ unit:m 355300 ] ;
+ rail:along_route rail-de-route:KBS120 ] ;
owl:sameAs dbpedia:Hamburg_Hauptbahnhof .
diff --git a/data/rail/de/station/múnster.ttl b/data/rail/de/station/múnster.ttl
new file mode 100644
index 0000000..547d861
--- /dev/null
+++ b/data/rail/de/station/múnster.ttl
@@ -0,0 +1,23 @@
+@base <http://data.jones.dk/rail/de/station/münster> .
+@prefix : <#> .
+@prefix dbpedia: <http://dbpedia.org/resource/> .
+@prefix foaf: <http://xmlns.com/foaf/0.1/> .
+@prefix org: <http://www.w3.org/ns/org#> .
+@prefix owl: <http://www.w3.org/2002/07/owl#> .
+@prefix rail: <http://ontologi.es/rail/vocab#> .
+@prefix rail-de-route: <http://data.jones.dk/rail/de/route#> .
+@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 .
+
+:station a rail:Station ;
+ skos:prefLabel "Münster Hauptbahnhof" ;
+ skos:altLabel "Münster Hbf"@de ;
+ rail:serves dbpedia:Münster ;
+ rail:located_at [ a rail:StationPosition ;
+ rail:distance [ unit:m 67600 ] ;
+ rail:along_route rail-de-route:KBS385 ] ;
+ owl:sameAs dbpedia:Münster_Hauptbahnhof .
diff --git a/data/rail/de/station/osnabrück.ttl b/data/rail/de/station/osnabrück.ttl
new file mode 100644
index 0000000..d1d444f
--- /dev/null
+++ b/data/rail/de/station/osnabrück.ttl
@@ -0,0 +1,23 @@
+@base <http://data.jones.dk/rail/de/station/osnabrück> .
+@prefix : <#> .
+@prefix dbpedia: <http://dbpedia.org/resource/> .
+@prefix foaf: <http://xmlns.com/foaf/0.1/> .
+@prefix org: <http://www.w3.org/ns/org#> .
+@prefix owl: <http://www.w3.org/2002/07/owl#> .
+@prefix rail: <http://ontologi.es/rail/vocab#> .
+@prefix rail-de-route: <http://data.jones.dk/rail/de/route#> .
+@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 .
+
+:station a rail:Station ;
+ skos:prefLabel "Osnabrück Hauptbahnhof" ;
+ skos:altLabel "Osnabrück Hbf"@de ;
+ rail:serves dbpedia:Osnabrück ;
+ rail:located_at [ a rail:StationPosition ;
+ rail:distance [ unit:m 117700 ] ;
+ rail:along_route rail-de-route:KBS385 ] ;
+ owl:sameAs dbpedia:Osnabrück_Hauptbahnhof .