-
Notifications
You must be signed in to change notification settings - Fork 12
/
first.ttl
58 lines (54 loc) · 2.97 KB
/
first.ttl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
@prefix tree: <https://w3id.org/tree#>.
@prefix hydra: <http://www.w3.org/ns/hydra/core#>.
@prefix dcterms: <http://purl.org/dc/terms/>.
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
@prefix schema: <http://schema.org/>.
@prefix shacl: <http://www.w3.org/ns/shacl#>.
@prefix lc: <http://semweb.mmlab.be/ns/linkedconnections#>.
@prefix gtfs: <http://vocab.gtfs.org/terms#>.
@prefix geosparql: <http://www.opengis.net/ont/geosparql#>.
@prefix xsd: <http://www.w3.org/2001/XMLSchema#>.
<https://graph.irail.be/sncb/connections> a hydra:Collection ;
rdfs:label "All arrivals and departures of Trains in Belgium"@en ;
tree:view <first.ttl> . #From the first page, all elements can be found
<first.ttl> a tree:Node ;
tree:relation [
a tree:GreaterThanOrEqualToRelation ;
tree:node <second.ttl> ;
tree:path lc:departureTime ;
tree:value "2020-03-16T08:30:00.000Z"^^xsd:dateTime
],
[
a tree:GeospatiallyContainsRelation ;
tree:node <second.ttl> ;
tree:path (lc:departureStop geosparql:asWKT) ;
tree:import <stops.ttl> ;
tree:value "POLYGON ((30 10, 40 40, 20 40, 10 20, 30 10))"^^geosparql:wktLiteral
].
<https://graph.irail.be/sncb/connections> hydra:member <http://irail.be/connections/8896909/20190723/IC2329>,
<http://irail.be/connections/8896925/20190723/IC829> .
## The data itself
<http://irail.be/connections/8896909/20190723/IC2329> a lc:Connection;
lc:arrivalDelay "240"^^xsd:integer ;
lc:arrivalStop <http://irail.be/stations/NMBS/008896800>;
lc:arrivalTime "2020-03-16T08:45:00.000Z"^^xsd:dateTime ;
lc:departureDelay "360"^^xsd:integer ;
lc:departureStop <http://irail.be/stations/NMBS/008896909>;
lc:departureTime "2020-03-16T08:28:00.000Z"^^xsd:dateTime ;
gtfs:dropOffType gtfs:Regular;
gtfs:headsign "Ostende";
gtfs:pickupType gtfs:Regular;
gtfs:route <http://irail.be/vehicle/IC2329>;
gtfs:trip <http://irail.be/vehicle/IC2329/20190723>.
<http://irail.be/connections/8896925/20190723/IC829> a lc:Connection;
lc:arrivalDelay "180"^^xsd:integer ;
lc:arrivalStop <http://irail.be/stations/NMBS/008896909>;
lc:arrivalTime "2020-03-16T08:56:00.000Z"^^xsd:dateTime ;
lc:departureDelay "180"^^xsd:integer ;
lc:departureStop <http://irail.be/stations/NMBS/008896925>;
lc:departureTime "2020-03-16T08:29:00.000Z"^^xsd:dateTime ;
gtfs:dropOffType gtfs:Regular ;
gtfs:headsign "Bruges" ;
gtfs:pickupType gtfs:Regular ;
gtfs:route <http://irail.be/vehicle/IC829> ;
gtfs:trip <http://irail.be/vehicle/IC829/20190723> .