-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
129 lines (96 loc) · 7.75 KB
/
index.html
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="UTF-8">
<title>The Transport Disruption Ontology by transportdisruption</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="stylesheets/normalize.css" media="screen">
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="stylesheets/stylesheet.css" media="screen">
<link rel="stylesheet" type="text/css" href="stylesheets/github-light.css" media="screen">
</head>
<body>
<section class="page-header">
<h1 class="project-name">The Transport Disruption Ontology</h1>
<h2 class="project-tagline">Modelling travel and transport related events and their disruptive impact on the (travel) plans of agents</h2>
</section>
<section class="main-content">
<h3>
<a id="introduction" class="anchor" href="#introduction" aria-hidden="true"><span class="octicon octicon-link"></span></a>Introduction</h3>
<p>The Transport Disruption ontology provides a formal framework for modelling travel and transport related events that have a disruptive impact on an agent's planned travel.</p>
<p>The ontology can be considered as consisting of two main sections: classes modelling the disruptive event and its impact on an agent’s plan, and a hierarchy of travel and transport related events. </p>
<p>For details of the ontology itself, please see <a href="https://transportdisruption.github.io/transportdisruption.html">the ontology documentation</a>. The ontology is also available in <a href="https://transportdisruption.github.io/transportdisruption.ttl">TTL</a> and <a href="https://transportdisruption.github.io/transportdisruption.owl">RDF/XML</a> encodings either directly or through content negotiation using the <a href="http://purl.org/td/transportdisruption">http://purl.org/td/transportdisruption</a> namespace.</p>
<h3>
<a id="example-events" class="anchor" href="#example-events" aria-hidden="true"><span class="octicon octicon-link"></span></a>Example Events</h3>
<p>Throughout this page, examples are defined in the TTL format using the following namespaces:</p>
<pre><code> @prefix : <http://www.example.com/transportdisruption#> .
@prefix td: <http://purl.org/td/transportdisruption#> .
@prefix tl: <http://purl.org/NET/c4dm/timeline.owl#> .
@prefix event: <http://purl.org/NET/c4dm/event.owl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix geo: <http://www.w3.org/2003/01/geo/wgs84_pos#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@base <http://www.example.com/transportdisruption> .
</code></pre>
<p>While the ontology documentation is useful, some examples are also useful! Lets consider an simple example where there will be roadworks on Union Street in Aberdeen, UK taking place overnight from 19:00 on Monday 20 October 2015 until 06:00 Tuesday 21 October 2015, and as a result the road will be closed. This can be represented as:</p>
<pre><code> :roadworks a td:Roadworks;
event:place :roadworksLocation;
event:time :mondayNight.
:roadworksLocation a geo:Point;
geo:lat "57.146451";
geo:long "-2.09872".
:mondayNight a tl:Interval;
tl:beginsAtDateTime "2015-10-20T19:00:00"^^xsd:dateTime;
tl:endsAtDateTime "2015-10-21T07:00:00"^^xsd:dateTime.
:roadclosure a td:RoadClosure;
event:place <http://linkedgeodata.org/page/triplify/way95288246>;
event:time :mondayNight;
event:factor :roadworks.
</code></pre>
<p>A couple of things to note about this example: </p>
<ul>
<li>The roadworks are located with a geolocation consisting of latitude and longitude values specifying where the roadworks are taking place.</li>
<li>The road closure is located using the <a href="http://%20linkedgeodata.org">LinkedGeoData</a> representation of one of the <a href="http://www.openstreetmap.org">OpenStreetMap</a> ways for <a href="https://www.openstreetmap.org/way/95288246">Union Street, Aberdeen, UK</a>. As this particular road consists of multiple ways, we could have added them all, but this particular one is fine indicating the part of the road that is closed.<br>
</li>
<li>As both the roadworks and road closure occur at the same time, they use the same interval (defined using the <a href="http://motools.sourceforge.net/timeline/timeline.html#term_Interval">Interval class of the Timeline ontology</a>).</li>
<li>The relationship between the two events (i.e. that the road closure is due to the roadworks) is captured by the <code>eg:roadclosed event:factor :roadworks</code> triple.</li>
</ul>
<h3>
<a id="example-disruption" class="anchor" href="#example-disruption" aria-hidden="true"><span class="octicon octicon-link"></span></a>Example Disruption</h3>
<p>OK, so we have some events, now lets consider the travel plans of Bob, who was due to drive along that part of Union Street on his way to work that evening:</p>
<pre><code> :bob a foaf:Person;
td:hasPlan :driveToWork.
:bobsDriveToWork a td:Plan;
:time [ tl:beginsAtDateTime "2015-10-20T20:30:00"^^xsd:dateTime;
tl:endsAtDateTime "2015-10-20T20:55:00"^^xsd:dateTime. ];
:route [ ....
<http://linkedgeodata.org/page/triplify/way95288246>,
... ].
</code></pre>
<p>As Bob will be travelling when the road is closed, he is not going to be able to complete his journey as normal. Most likely he is going to have to divert his route to avoid the road closure. Using the Transport Disruption ontology, this could be represented as follows:</p>
<pre><code> :alternativeRouteNecessary a td:DisruptiveImpact;
td:relevantTo :bob;
td:impactsOn :bobsDriveToWork;
td:hasCause :roadclosure.
</code></pre>
<p>As <code>td:hasCause</code> is the inverse property of <code>td:casuseOf</code> the triple <code>eg:alternativeRouteNecessary td:hasCause eg:roadclosure</code> will result in the following inference</p>
<pre><code> :roadclosure td:causeOf :alternativeRouteNecessary.
</code></pre>
<p>And as such the <code>eg:roadclosure</code> is now considered to be a disruptive event as it has had a disruptive impact on Bob's travel plans, captured by the following assertion:</p>
<pre><code> :roadclosure a td:DisruptiveEvent.
</code></pre>
<p>The full example is <a href="https://github.com/transportdisruption/transportdisruption.github.io/blob/master/example.ttl">available here</a>.</p>
<h3>
<a id="more-information" class="anchor" href="#more-information" aria-hidden="true"><span class="octicon octicon-link"></span></a>More Information</h3>
<p>For more information about the ontology itself:</p>
<ul>
<li>See the ISWC 2015 paper <a href="http://iswc2015.semanticweb.org/sites/iswc2015.semanticweb.org/files/93670279.pdf">The Transport Disruption Ontology</a>, which describes the design process and an example use case.</li>
<li>Use the <a href="https://github.com/transportdisruption/transportdisruption.github.io/issues">issues board</a> on the main <a href="https://github.com/transportdisruption/transportdisruption.github.io/">github project page</a>.</li>
<li>Contact David Corsar either on here (<a href="https://github.com/dcorsar" class="user-mention">@dcorsar</a>), via his <a href="http://homepages.abdn.ac.uk/dcorsar/pages">website</a>, or <a href="http://www.twitter.com/davidcorsar">via Twitter</a> with comments, questions, etc. or to request an invite to the github project.</li>
</ul>
<footer class="site-footer">
<span class="site-footer-credits">This page was generated by <a href="https://pages.github.com">GitHub Pages</a> using the <a href="https://github.com/jasonlong/cayman-theme">Cayman theme</a> by <a href="https://twitter.com/jasonlong">Jason Long</a>.</span>
</footer>
</section>
</body>
</html>