summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2020-04-12 12:57:38 +0200
committerJonas Smedegaard <dr@jones.dk>2020-04-12 12:57:38 +0200
commit5c821e5bdcdbef1382a1110b335ba486ad2d4fed (patch)
treedf6d08b1a496eee4d3c4a65aa2aa396c0fd26320
parent9fd09f7be8499647eed6cb75edcc8129be8382d3 (diff)
use compact Turtle syntax for collections
-rw-r--r--data/rail/de/route/IC30.ttl63
-rw-r--r--data/rail/de/route/ICE10.ttl21
-rw-r--r--data/rail/de/route/ICE10a.ttl42
-rw-r--r--data/rail/de/route/ICE10b.ttl36
-rw-r--r--data/rail/de/route/KBS120.ttl12
-rw-r--r--data/rail/de/route/KBS137-1.ttl30
-rw-r--r--data/rail/de/route/KBS385.ttl12
-rw-r--r--data/rail/dk/route/TIB1.ttl81
-rw-r--r--data/rail/dk/route/TIB11.ttl15
-rw-r--r--data/rail/dk/route/TIB21.ttl45
-rw-r--r--data/rail/dk/route/TIB23.ttl33
-rw-r--r--data/rail/dk/route/TIB5.ttl42
12 files changed, 216 insertions, 216 deletions
diff --git a/data/rail/de/route/IC30.ttl b/data/rail/de/route/IC30.ttl
new file mode 100644
index 0000000..30adc53
--- /dev/null
+++ b/data/rail/de/route/IC30.ttl
@@ -0,0 +1,63 @@
+@base <http://data.jones.dk/rail/de/route/IC30> .
+@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 "Hamburg to Stuttgart Junction"@en ;
+ skos:altLabel "IC30"@zxx ;
+ rdfs:seeAlso <https://en.wikipedia.org/wiki/Intercity_%28Deutsche_Bahn%29#Current_services> ;
+ rail:route_origin dbpedia:Hamburg_Hauptbahnhof ;
+ dc:isPartOf
+ <IC30-binz> ,
+ <IC30-altona> ;
+ dc:hasPart
+ <KBS120> ;
+ rail:stations :stations .
+
+:stations a rdf:List ;
+ skos:prefLabel "Stations"@en ;
+ rdfs:member
+ rail-de:station-hamburg ,
+ rail-de:station-hamburg-harburg ,
+ rail-de:station-bremen ,
+ rail-de:station-osnabrück ,
+ rail-de:station-münster ,
+ rail-de:station-dortmund ,
+ rail-de:station-bochum ,
+ rail-de:station-essen ,
+ rail-de:station-duisburg ,
+ rail-de:station-düsseldorf ,
+ rail-de:station-cologne ,
+ rail-de:station-bonn ,
+ rail-de:station-koblenz ,
+ rail-de:station-mainz ,
+ rail-de:station-mannheim ,
+ rail-de:station-heidelberg ,
+ rail-de:station-vaihingen ,
+ rail-de:station-stuttgart ;
+ (
+ rail-de:station-hamburg
+ rail-de:station-hamburg-harburg
+ rail-de:station-bremen
+ rail-de:station-osnabrück
+ rail-de:station-münster
+ rail-de:station-dortmund
+ rail-de:station-bochum
+ rail-de:station-essen
+ rail-de:station-duisburg
+ rail-de:station-düsseldorf
+ rail-de:station-cologne
+ rail-de:station-bonn
+ rail-de:station-koblenz
+ rail-de:station-mainz
+ rail-de:station-mannheim
+ rail-de:station-heidelberg
+ rail-de:station-vaihingen
+ rail-de:station-stuttgart
+ ) .
diff --git a/data/rail/de/route/ICE10.ttl b/data/rail/de/route/ICE10.ttl
index 0af711c..8675083 100644
--- a/data/rail/de/route/ICE10.ttl
+++ b/data/rail/de/route/ICE10.ttl
@@ -27,16 +27,11 @@
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>
- ]]]]] .
+ (
+ 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
+ ) .
diff --git a/data/rail/de/route/ICE10a.ttl b/data/rail/de/route/ICE10a.ttl
index 982b3da..6cdf0d8 100644
--- a/data/rail/de/route/ICE10a.ttl
+++ b/data/rail/de/route/ICE10a.ttl
@@ -32,30 +32,18 @@
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>
- ]]]]]]]]]]]] .
+ (
+ 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
+ ) .
diff --git a/data/rail/de/route/ICE10b.ttl b/data/rail/de/route/ICE10b.ttl
index 63a4dd0..32ab46d 100644
--- a/data/rail/de/route/ICE10b.ttl
+++ b/data/rail/de/route/ICE10b.ttl
@@ -30,26 +30,16 @@
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>
- ]]]]]]]]]] .
+ (
+ 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
+ ) .
diff --git a/data/rail/de/route/KBS120.ttl b/data/rail/de/route/KBS120.ttl
index 10452a1..8ca65c3 100644
--- a/data/rail/de/route/KBS120.ttl
+++ b/data/rail/de/route/KBS120.ttl
@@ -24,10 +24,8 @@
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>
- ]] .
+ (
+ rail-de:station-bremen
+ rail-de:station-hamburg-harburg
+ rail-de:station-hamburg
+ ) .
diff --git a/data/rail/de/route/KBS137-1.ttl b/data/rail/de/route/KBS137-1.ttl
new file mode 100644
index 0000000..cc13efd
--- /dev/null
+++ b/data/rail/de/route/KBS137-1.ttl
@@ -0,0 +1,30 @@
+@base <http://data.jones.dk/rail/de/route/KBS137-1> .
+@prefix : <#> .
+@prefix dbpedia: <http://dbpedia.org/resource/> .
+@prefix dc: <http://purl.org/dc/terms/> .
+@prefix owl: <http://www.w3.org/2002/07/owl#> .
+@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
+ "Hamburg-Altona link line" ,
+ "Hamburg-Altonaer Verbindungsbahn"@de ;
+ skos:altLabel "KBS137.1"@zxx ;
+ owl:sameAs dbpedia:Hamburg-Altona_link_line ;
+ rail:route_origin rail-de:station-hamburg-altona ;
+ dc:isPartOf <IC30-altona> ;
+ rail:stations :stations .
+
+:stations a rdf:List ;
+ skos:prefLabel "Stations"@en ;
+ rdfs:member
+ rail-de:station-hamburg-altona ,
+ rail-de:station-hamburg ;
+ (
+ rail-de:station-hamburg-altona
+ rail-de:station-hamburg
+ ) .
diff --git a/data/rail/de/route/KBS385.ttl b/data/rail/de/route/KBS385.ttl
index 07c53c9..5853cc2 100644
--- a/data/rail/de/route/KBS385.ttl
+++ b/data/rail/de/route/KBS385.ttl
@@ -24,10 +24,8 @@
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>
- ]] .
+ (
+ rail-de:station-bremen
+ rail-de:station-osnabrück
+ rail-de:station-münster
+ ) .
diff --git a/data/rail/dk/route/TIB1.ttl b/data/rail/dk/route/TIB1.ttl
index cdea938..bfe2c0a 100644
--- a/data/rail/dk/route/TIB1.ttl
+++ b/data/rail/dk/route/TIB1.ttl
@@ -47,56 +47,31 @@
rail-dk:station-kauslunde ,
rail-dk:station-middelfart ,
rail-dk:station-fredericia ;
- rdf:first rail-dk:station-copenhagen ;
- rdf:rest [ a rdf:List ;
- rdf:first rail-dk:station-valby ;
- rdf:rest [ a rdf:List ;
- rdf:first rail-dk:station-høje-taastrup ;
- rdf:rest [ a rdf:List ;
- rdf:first rail-dk:station-hedehusene ;
- rdf:rest [ a rdf:List ;
- rdf:first rail-dk:station-trekroner ;
- rdf:rest [ a rdf:List ;
- rdf:first rail-dk:station-roskilde ;
- rdf:rest [ a rdf:List ;
- rdf:first rail-dk:station-viby-sjælland ;
- rdf:rest [ a rdf:List ;
- rdf:first rail-dk:station-borup ;
- rdf:rest [ a rdf:List ;
- rdf:first rail-dk:station-kværkeby ;
- rdf:rest [ a rdf:List ;
- rdf:first rail-dk:station-ringsted ;
- rdf:rest [ a rdf:List ;
- rdf:first rail-dk:station-sorø ;
- rdf:rest [ a rdf:List ;
- rdf:first rail-dk:station-slagelse ;
- rdf:rest [ a rdf:List ;
- rdf:first rail-dk:station-korsør ;
- rdf:rest [ a rdf:List ;
- rdf:first rail-dk:station-nyborg ;
- rdf:rest [ a rdf:List ;
- rdf:first rail-dk:station-odense ;
- rdf:rest [ a rdf:List ;
- rdf:first rail-dk:station-holmstrup ;
- rdf:rest [ a rdf:List ;
- rdf:first rail-dk:station-tommerup ;
- rdf:rest [ a rdf:List ;
- rdf:first rail-dk:station-skalbjerg ;
- rdf:rest [ a rdf:List ;
- rdf:first rail-dk:station-bred ;
- rdf:rest [ a rdf:List ;
- rdf:first rail-dk:station-aarup ;
- rdf:rest [ a rdf:List ;
- rdf:first rail-dk:station-gelsted ;
- rdf:rest [ a rdf:List ;
- rdf:first rail-dk:station-ejby ;
- rdf:rest [ a rdf:List ;
- rdf:first rail-dk:station-nørre-aaby ;
- rdf:rest [ a rdf:List ;
- rdf:first rail-dk:station-kauslunde ;
- rdf:rest [ a rdf:List ;
- rdf:first rail-dk:station-middelfart ;
- rdf:rest [ a rdf:List ;
- rdf:first rail-dk:station-fredericia ;
- rdf:rest <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil>
- ]]]]]]]]]]]]]]]]]]]]]]]]] .
+ (
+ rail-dk:station-copenhagen
+ rail-dk:station-valby
+ rail-dk:station-høje-taastrup
+ rail-dk:station-hedehusene
+ rail-dk:station-trekroner
+ rail-dk:station-roskilde
+ rail-dk:station-viby-sjælland
+ rail-dk:station-borup
+ rail-dk:station-kværkeby
+ rail-dk:station-ringsted
+ rail-dk:station-sorø
+ rail-dk:station-slagelse
+ rail-dk:station-korsør
+ rail-dk:station-nyborg
+ rail-dk:station-odense
+ rail-dk:station-holmstrup
+ rail-dk:station-tommerup
+ rail-dk:station-skalbjerg
+ rail-dk:station-bred
+ rail-dk:station-aarup
+ rail-dk:station-gelsted
+ rail-dk:station-ejby
+ rail-dk:station-nørre-aaby
+ rail-dk:station-kauslunde
+ rail-dk:station-middelfart
+ rail-dk:station-fredericia
+ ) .
diff --git a/data/rail/dk/route/TIB11.ttl b/data/rail/dk/route/TIB11.ttl
index 71f56b1..d1a05ea 100644
--- a/data/rail/dk/route/TIB11.ttl
+++ b/data/rail/dk/route/TIB11.ttl
@@ -25,12 +25,9 @@
rail-dk:station-orestad ,
rail-dk:station-tårnby ,
rail-dk:station-copenhagen-airport ;
- rdf:first rail-dk:station-copenhagen ;
- rdf:rest [ a rdf:List ;
- rdf:first rail-dk:station-ørestad ;
- rdf:rest [ a rdf:List ;
- rdf:first rail-dk:station-tårnby ;
- rdf:rest [ a rdf:List ;
- rdf:first rail-dk:station-copenhagen-airport ;
- rdf:rest <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil>
- ]]] .
+ (
+ rail-dk:station-copenhagen
+ rail-dk:station-orestad
+ rail-dk:station-tårnby
+ rail-dk:station-copenhagen-airport
+ ) .
diff --git a/data/rail/dk/route/TIB21.ttl b/data/rail/dk/route/TIB21.ttl
index ee06656..f714262 100644
--- a/data/rail/dk/route/TIB21.ttl
+++ b/data/rail/dk/route/TIB21.ttl
@@ -34,32 +34,19 @@
rail-dk:station-stenstrup-syd ,
rail-dk:station-svendborg-vest ,
rail-dk:station-svendborg ;
- rdf:first rail-dk:station-odense ;
- rdf:rest [ a rdf:List ;
- rdf:first rail-dk:station-odense-sygehus ;
- rdf:rest [ a rdf:List ;
- rdf:first rail-dk:station-fruens-bøge ;
- rdf:rest [ a rdf:List ;
- rdf:first rail-dk:station-hjallese ;
- rdf:rest [ a rdf:List ;
- rdf:first rail-dk:station-højby ;
- rdf:rest [ a rdf:List ;
- rdf:first rail-dk:station-årslev ;
- rdf:rest [ a rdf:List ;
- rdf:first rail-dk:station-pederstrup ;
- rdf:rest [ a rdf:List ;
- rdf:first rail-dk:station-ringe ;
- rdf:rest [ a rdf:List ;
- rdf:first rail-dk:station-rudme ;
- rdf:rest [ a rdf:List ;
- rdf:first rail-dk:station-kværndrup ;
- rdf:rest [ a rdf:List ;
- rdf:first rail-dk:station-stenstrup ;
- rdf:rest [ a rdf:List ;
- rdf:first rail-dk:station-stenstrup-syd ;
- rdf:rest [ a rdf:List ;
- rdf:first rail-dk:station-svendborg-vest ;
- rdf:rest [ a rdf:List ;
- rdf:first rail-dk:station-svendborg ;
- rdf:rest <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil>
- ]]]]]]]]]]]]] .
+ (
+ rail-dk:station-odense
+ rail-dk:station-odense-sygehus
+ rail-dk:station-fruens-bøge
+ rail-dk:station-hjallese
+ rail-dk:station-højby
+ rail-dk:station-årslev
+ rail-dk:station-pederstrup
+ rail-dk:station-ringe
+ rail-dk:station-rudme
+ rail-dk:station-kværndrup
+ rail-dk:station-stenstrup
+ rail-dk:station-stenstrup-syd
+ rail-dk:station-svendborg-vest
+ rail-dk:station-svendborg
+ ) .
diff --git a/data/rail/dk/route/TIB23.ttl b/data/rail/dk/route/TIB23.ttl
index dd322af..f974974 100644
--- a/data/rail/dk/route/TIB23.ttl
+++ b/data/rail/dk/route/TIB23.ttl
@@ -30,24 +30,15 @@
rail-dk:station-hørning ,
rail-dk:station-viby-jylland ,
rail-dk:station-aarhus ;
- rdf:first rail-dk:station-fredericia ;
- rdf:rest [ a rdf:List ;
- rdf:first rail-dk:station-børkop ;
- rdf:rest [ a rdf:List ;
- rdf:first rail-dk:station-brejning ;
- rdf:rest [ a rdf:List ;
- rdf:first rail-dk:station-vejle ;
- rdf:rest [ a rdf:List ;
- rdf:first rail-dk:station-hedensted ;
- rdf:rest [ a rdf:List ;
- rdf:first rail-dk:station-horsens ;
- rdf:rest [ a rdf:List ;
- rdf:first rail-dk:station-skanderborg ;
- rdf:rest [ a rdf:List ;
- rdf:first rail-dk:station-hørning ;
- rdf:rest [ a rdf:List ;
- rdf:first rail-dk:station-viby-jylland ;
- rdf:rest [ a rdf:List ;
- rdf:first rail-dk:station-aarhus ;
- rdf:rest <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil>
- ]]]]]]]]] .
+ (
+ rail-dk:station-fredericia
+ rail-dk:station-børkop
+ rail-dk:station-brejning
+ rail-dk:station-vejle
+ rail-dk:station-hedensted
+ rail-dk:station-horsens
+ rail-dk:station-skanderborg
+ rail-dk:station-hørning
+ rail-dk:station-viby-jylland
+ rail-dk:station-aarhus
+ ) .
diff --git a/data/rail/dk/route/TIB5.ttl b/data/rail/dk/route/TIB5.ttl
index eb8363a..4c42037 100644
--- a/data/rail/dk/route/TIB5.ttl
+++ b/data/rail/dk/route/TIB5.ttl
@@ -33,30 +33,18 @@
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>
- ]]]]]]]]]]]] .
+ (
+ 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
+ ) .