From abc5e1e5bb53a5444d9115ec8867141e0d0cb074 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sun, 17 Aug 2014 17:04:09 +0200 Subject: Drop foaf:primaryTopic from routes and trains, and fix link against routes. --- data/rail/routes/de/ICE10.ttl | 4 +--- data/rail/routes/de/ICE10a.ttl | 4 +--- data/rail/routes/de/ICE10b.ttl | 4 +--- data/rail/routes/dk/TIB5.ttl | 4 +--- data/rail/trains/de/ICE542.ttl | 8 +++----- data/rail/trains/de/ICE552.ttl | 8 +++----- data/rail/trains/dk/Togbus56061.ttl | 11 +++-------- 7 files changed, 13 insertions(+), 30 deletions(-) diff --git a/data/rail/routes/de/ICE10.ttl b/data/rail/routes/de/ICE10.ttl index 0e1d904..be5a332 100644 --- a/data/rail/routes/de/ICE10.ttl +++ b/data/rail/routes/de/ICE10.ttl @@ -8,9 +8,7 @@ @prefix rdf: . @prefix rdfs: . -<> foaf:primaryTopic :route . - -:route a rail:Route ; +<> a rail:Route ; foaf:name "Berlin to Hamm Junction"@en ; foaf:page ; rail:elr "ICE10"@zxx ; diff --git a/data/rail/routes/de/ICE10a.ttl b/data/rail/routes/de/ICE10a.ttl index c4201cf..29485be 100644 --- a/data/rail/routes/de/ICE10a.ttl +++ b/data/rail/routes/de/ICE10a.ttl @@ -9,9 +9,7 @@ @prefix rdfs: . @prefix void: . -<> foaf:primaryTopic :route . - -:route a rail:Route ; +<> a rail:Route ; foaf:name "Berlin To Cologne Line"@en ; foaf:page ; rail:elr "ICE10a"@zxx ; diff --git a/data/rail/routes/de/ICE10b.ttl b/data/rail/routes/de/ICE10b.ttl index 4e4bc3c..18da143 100644 --- a/data/rail/routes/de/ICE10b.ttl +++ b/data/rail/routes/de/ICE10b.ttl @@ -8,9 +8,7 @@ @prefix rdf: . @prefix rdfs: . -<> foaf:primaryTopic :route . - -:route a rail:Route ; +<> a rail:Route ; foaf:name "Berlin To Bonn Line"@en ; foaf:page ; rail:elr "ICE10b"@zxx ; diff --git a/data/rail/routes/dk/TIB5.ttl b/data/rail/routes/dk/TIB5.ttl index 58afaf8..b1841c5 100644 --- a/data/rail/routes/dk/TIB5.ttl +++ b/data/rail/routes/dk/TIB5.ttl @@ -8,9 +8,7 @@ @prefix rdf: . @prefix rdfs: . -<> foaf:primaryTopic :route . - -:route a rail:Route ; +<> a rail:Route ; foaf:name "Nordvestbanen"@en ; foaf:page ; rail:elr "Strækning5"@zxx ; diff --git a/data/rail/trains/de/ICE542.ttl b/data/rail/trains/de/ICE542.ttl index 2f58bac..10c98d7 100644 --- a/data/rail/trains/de/ICE542.ttl +++ b/data/rail/trains/de/ICE542.ttl @@ -4,16 +4,14 @@ #FIXME: add "rail:Train rdfs:subClassOf transit:Schedule" @prefix rail: . @prefix rail-de: . -@prefix rail-de-ice10a: . +@prefix rail-de-route: . @prefix tio: . @prefix transit: . -<> foaf:primaryTopic :service . - -:service a rail:Train ; +<> a rail:Train ; foaf:name "Berlin To Bonn Service"@en ; rail:elr "ICE542"@zxx ; - rail:follows_route rail-de-ice10a:route ; + rail:follows_route rail-de-route:ICE10a ; rail:follows_schedule :schedule ; rail:has_stop :stop-berlin-ost, :stop-berlin , diff --git a/data/rail/trains/de/ICE552.ttl b/data/rail/trains/de/ICE552.ttl index bb0f5a3..7bca674 100644 --- a/data/rail/trains/de/ICE552.ttl +++ b/data/rail/trains/de/ICE552.ttl @@ -4,16 +4,14 @@ #FIXME: add "rail:Train rdfs:subClassOf transit:Schedule" @prefix rail: . @prefix rail-de: . -@prefix rail-de-ice10b: . +@prefix rail-de-route: . @prefix tio: . @prefix transit: . -<> foaf:primaryTopic :service . - -:service a rail:Train ; +<> a rail:Train ; foaf:name "Berlin To Bonn Service"@en ; rail:elr "ICE552"@zxx ; - rail:follows_route rail-de-ice10b:route ; + rail:follows_route rail-de-route:ICE10b ; rail:follows_schedule :schedule ; rail:has_stop :stop-berlin-ost, :stop-berlin , diff --git a/data/rail/trains/dk/Togbus56061.ttl b/data/rail/trains/dk/Togbus56061.ttl index 291b40b..91b93f4 100644 --- a/data/rail/trains/dk/Togbus56061.ttl +++ b/data/rail/trains/dk/Togbus56061.ttl @@ -5,24 +5,19 @@ @prefix owl: . @prefix rail: . @prefix rail-dk: . +@prefix rail-dk-route: . @prefix tio: . @prefix transit: . -<> foaf:primaryTopic :service . - -:service a rail:Train ; +<> a rail:Train ; foaf:name "Roskilde To Kalundborg Service"@en ; rail:elr "Togbus56061"@zxx ; - rail:follows_route :route-tib5 ; + rail:follows_route rail-dk-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 . - :schedule a rail:TrainSchedule . :stop-hvalsø a rail:TrainStop ; -- cgit v1.2.3