summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2014-08-17 15:21:38 +0200
committerJonas Smedegaard <dr@jones.dk>2014-08-17 19:00:41 +0200
commitd5e7d3445ed1e65e8d233f2029402e3484180d09 (patch)
treee164e544470a899d293548439227ee559e7f9a38
parent8a50ec40dd40a3f9040ab509cc0c756dbb62d594 (diff)
Rename routes/dk/5 → routes/dk/TIB5, and fix uses of it.
-rw-r--r--data/org/dsb.ttl29
-rw-r--r--data/rail/routes/dk/TIB5.ttl (renamed from data/rail/routes/dk/5.ttl)2
-rw-r--r--data/rail/trains/dk/Togbus56061.ttl8
3 files changed, 22 insertions, 17 deletions
diff --git a/data/org/dsb.ttl b/data/org/dsb.ttl
index 8a1e762..cdf1741 100644
--- a/data/org/dsb.ttl
+++ b/data/org/dsb.ttl
@@ -3,8 +3,9 @@
@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-dk-5: <http://data.jones.dk/rail/routes/dk/strækning5#> .
+@prefix rail-dk-route: <http://data.jones.dk/rail/routes/dk/> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix unit: <http://qudt.org/vocab/unit#> .
@@ -39,7 +40,7 @@
rail:located_at [
a rail:StationPosition ;
rail:distance [ unit:m 31300 ] ;
- rail:along_route rail-dk-5:service
+ rail:along_route rail-dk-route:TIB5
] .
:station-lejre a rail:Station ;
@@ -48,7 +49,7 @@
rail:located_at [
a rail:StationPosition ;
rail:distance [ unit:m 40800 ] ;
- rail:along_route rail-dk-5:service
+ rail:along_route rail-dk-route:TIB5
] .
:station-hvalsø a rail:Station ;
@@ -57,7 +58,7 @@
rail:located_at [
a rail:StationPosition ;
rail:distance [ unit:m 48300 ] ;
- rail:along_route rail-dk-5:service
+ rail:along_route rail-dk-route:TIB5
] .
:station-tølløse a rail:Station ;
@@ -66,7 +67,7 @@
rail:located_at [
a rail:StationPosition ;
rail:distance [ unit:m 54600 ] ;
- rail:along_route rail-dk-5:service
+ rail:along_route rail-dk-route:TIB5
] .
:station-vipperød a rail:Station ;
@@ -75,7 +76,7 @@
rail:located_at [
a rail:StationPosition ;
rail:distance [ unit:m 61200 ] ;
- rail:along_route rail-dk-5:service
+ rail:along_route rail-dk-route:TIB5
] .
:station-holbæk a rail:Station ;
@@ -85,7 +86,7 @@
rail:located_at [
a rail:StationPosition ;
rail:distance [ unit:m 67100 ] ;
- rail:along_route rail-dk-5:service
+ rail:along_route rail-dk-route:TIB5
] .
:station-regstrup a rail:Station ;
@@ -94,7 +95,7 @@
rail:located_at [
a rail:StationPosition ;
rail:distance [ unit:m 75200 ] ;
- rail:along_route rail-dk-5:service
+ rail:along_route rail-dk-route:TIB5
] .
:station-knabstrup a rail:Station ;
@@ -103,7 +104,7 @@
rail:located_at [
a rail:StationPosition ;
rail:distance [ unit:m 79400 ] ;
- rail:along_route rail-dk-5:service
+ rail:along_route rail-dk-route:TIB5
] .
:station-mørkøv a rail:Station ;
@@ -112,7 +113,7 @@
rail:located_at [
a rail:StationPosition ;
rail:distance [ unit:m 82900 ] ;
- rail:along_route rail-dk-5:service
+ rail:along_route rail-dk-route:TIB5
] .
:station-jyderup a rail:Station ;
@@ -120,7 +121,7 @@
rail:located_at [
a rail:StationPosition ;
rail:distance [ unit:m 89500 ] ;
- rail:along_route rail-dk-5:service
+ rail:along_route rail-dk-route:TIB5
] .
:station-svebølle a rail:Station ;
@@ -129,7 +130,7 @@
rail:located_at [
a rail:StationPosition ;
rail:distance [ unit:m 97200 ] ;
- rail:along_route rail-dk-5:service
+ rail:along_route rail-dk-route:TIB5
] .
:station-værslev a rail:Station ;
@@ -138,7 +139,7 @@
rail:located_at [
a rail:StationPosition ;
rail:distance [ unit:m 102800 ] ;
- rail:along_route rail-dk-5:service
+ rail:along_route rail-dk-route:TIB5
] .
:station-kalundborg a rail:Station ;
@@ -147,5 +148,5 @@
rail:located_at [
a rail:StationPosition ;
rail:distance [ unit:m 110600 ] ;
- rail:along_route rail-dk-5:service
+ rail:along_route rail-dk-route:TIB5
] .
diff --git a/data/rail/routes/dk/5.ttl b/data/rail/routes/dk/TIB5.ttl
index 3a5b1f9..58afaf8 100644
--- a/data/rail/routes/dk/5.ttl
+++ b/data/rail/routes/dk/TIB5.ttl
@@ -1,4 +1,4 @@
-@base <http://data.jones.dk/rail/routes/dk/5> .
+@base <http://data.jones.dk/rail/routes/dk/TIB5> .
@prefix : <#> .
@prefix dc: <http://purl.org/dc/terms/> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
diff --git a/data/rail/trains/dk/Togbus56061.ttl b/data/rail/trains/dk/Togbus56061.ttl
index d5c8bf0..291b40b 100644
--- a/data/rail/trains/dk/Togbus56061.ttl
+++ b/data/rail/trains/dk/Togbus56061.ttl
@@ -2,9 +2,9 @@
@prefix : <#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
#FIXME: add "rail:Train rdfs:subClassOf transit:Schedule"
+@prefix owl: <http://www.w3.org/2002/07/owl#> .
@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/> .
@@ -13,12 +13,16 @@
:service a rail:Train ;
foaf:name "Roskilde To Kalundborg Service"@en ;
rail:elr "Togbus56061"@zxx ;
- rail:follows_route rail-dk-5:route ;
+ rail:follows_route :route-tib5 ;
rail:follows_schedule :schedule ;
rail:has_stop :stop-hvalsø,
:stop-holbæk ;
tio:operatedBy rail-dk:org .
+:route-tib5 a rail:Route ;
+ foaf:name "Nordvestbanen"@en ;
+ owl:sameAs <http://data.jones.dk/rail/routes/dk/TIB5#route> .
+
:schedule a rail:TrainSchedule .
:stop-hvalsø a rail:TrainStop ;