<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>TravelBot: Journey Disruption Alerts Utilising Social Media and Linked Data?</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>David Corsar</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Milan Markovic</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Paul Gault</string-name>
          <email>g@abdn.ac.uk</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Mujtaba Mehdi</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Peter Edwards</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>John D. Nelson</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Caitlin Cottrill</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Somayajulu Sripada</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>dot.rural Digital Economy Hub, University of Aberdeen</institution>
          ,
          <addr-line>Aberdeen, AB24 5UA</addr-line>
        </aff>
      </contrib-group>
      <abstract>
        <p>This demo paper presents a travel advice system based on information extracted from social media and linked data.</p>
      </abstract>
      <kwd-group>
        <kwd>Social Media</kwd>
        <kwd>Twitter</kwd>
        <kwd>Transport Disruption</kwd>
        <kwd>Linked Data</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        The Twitter1 microblogging platform is widely used in the public transport
domain by passengers to communicate with transport operators and by
operators to provide customer service and passenger information [
        <xref ref-type="bibr" rid="ref1 ref2">1,2</xref>
        ]. In particular,
the reliable, low-cost information distribution provided by Twitter has made it
an important channel for publishing real-time updates about disruptions to the
transport network and services [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. However, to bene t from this passengers must
rst nd such Tweet(s), which can be published by any Twitter user including
transport operators, relevant authorities, local media outlets, and other
passengers. Travellers must then have the necessary knowledge to evaluate the quality
of the information conveyed in terms of its veracity, temporal and geospatial
relevance to their journey, and reliability of the provider. Finally, they must
decide if the disruption will adversely impact their journey and, if so, whether any
changes to their travel plans are necessary.
      </p>
      <p>This demo will show the TravelBot system developed to support bus users
in the city of Aberdeen, UK. The demo will feature: a user registering a journey
with the system; TravelBot monitoring Twitter for messages describing transport
related events that may disrupt that journey; and when one is detected, sending
a personalised message to the user warning them of the potential disruption2.
The demo will utilise the datasets and system shown in Fig. 1.
? The research described here is supported by the award made by the RCUK
Digital Economy programme to the dot.rural Digital Economy Hub; award reference:
EP/G066051/1. The authors would also like to acknowledge the support of First
Aberdeen in developing this work.
1 http://twitter.com/
2 A video of this demo is available at https://youtu.be/ZAg6RnCQoUI.</p>
    </sec>
    <sec id="sec-2">
      <title>The TravelBot Ecosystem</title>
      <p>The TravelBot system3 is supported by a linked transport information ecosystem
(illustrated in Fig. 1 and further discussed below) that is based on a series of
ontologies. Services provide the system functionalities by reasoning with data
accessed via SPARQL endpoints. Figure 2 presents a sample of the data generated
for a Tweet, a user journey, and an alert message sent to a user.
User Interfaces
Web Services</p>
      <p>TMI
Datasets</p>
      <p>Twitter</p>
      <p>User Journey</p>
      <p>Registration
Ontotext</p>
      <p>KIM</p>
      <p>Tweet Processing</p>
      <p>Annotation
Triplifiaction</p>
      <p>Event
Inference</p>
      <p>NextBus
Interface</p>
      <p>User Alerting
EveMnat-tcJhoiunrgney Micro-NLG
Twitter Data</p>
      <p>Public Transport</p>
      <p>Schedules</p>
      <p>NaPTAN
NPTG</p>
      <p>Transport
Infrastructure</p>
      <p>Annotations</p>
      <p>Journeys
Transport
Events
Ontologies</p>
      <p>Bottari FOAF SIOC Transit NaPTAN LinkedGeoData</p>
      <p>Open
Annotation</p>
      <p>Transport
Disruption</p>
      <p>PROV-O Journey</p>
      <p>Tweets published by accounts known to provide travel information for the
geographic area, including bus operators, transport authorities and registered
users, along with Direct (private) Messages to the TravelBot Twitter account
are received and stored by the Twitter Monitoring Infrastructure4 (TMI). The
message and associated metadata (including its unique identi er, author, and
creation timestamp) are stored in the Twitter Data dataset and published as
linked data using the Bottari5, FOAF6, and SIOC7 ontologies8.</p>
      <p>Once stored, the message's URI is passed to the Tweet Processing
component, which extracts, classi es, and contextualises a semantic representation of
any transport event(s) described in the message. The Ontotext KIM9 platform,
which is designed to identify semantic entities in text, is con gured to discover
entities related to transport events in the message. To achieve this, the KIM
knowledge base has been extended with RDF descriptions, including names,
3 The TravelBot system is available at https://github.com/SocialJourneys.
4 The TMI system is available at https://github.com/SocialJourneys/TMI.
5 http://purl.org/NET/bottari.n3
6 http://xmlns.com/foaf/0.1/
7 http://rdfs.org/sioc/ns#
8 To comply with Twitter's terms and conditions, this data is only available within
this system.
9 http://ontotext.com/kim
commonly used abbreviations and slang terms describing: types of potentially
disruptive transport events related to network operator actions, public transport,
and tra c described by the Transport Disruption ontology10; open bus service
and schedule data11 stored in the Public Transport Schedules dataset12; public
transport access points from the NaPTAN dataset13 and settlements from the
NPTG dataset14; and the road network extracted from openstreetmap.org and
stored in the Transport Infrastructure dataset15.</p>
      <p>The Annotation Tripli cation component generates annotations for each
entity identi ed by KIM, represented with the Open Annotation ontology16. As
shown in Fig. 2, each annotation links to the source message and the
identied resource; these are stored in the Annotations dataset. The Event Inference
module uses a set of hand crafted SPIN17 rules to create a semantic
representation of transport events based on these annotations and represented using the
Transport Disruption ontology. The rules attempt to determine if a transport
related event is described, and if so, to associate a geolocation and time period
with it, attribute values speci c to the event type (for example, in Fig. 2 the
carriageway a ected by the roadworks) and link to any bus services that may be
a ected. The inferred event(s) is (are) added to the Transport Events dataset,
along with provenance information18 recording the creation timestamp and the
message that it was derived from.</p>
      <p>TravelBot users register any journey for which they wish to receive noti
cations. Each journey is described in terms of the week days on which it is made,
the time of travel, bus service(s) used, and boarding and alighting locations.
At a user speci ed time before each journey, the NextBus Interface component
retrieves the upcoming arrival times for bus(es) on the speci ed service(s) at the
boarding bus stop19. This is privately communicated to the user via Twitter as
a Direct Message and will be available through their usual Twitter client.</p>
      <p>The Event Journey Matching component uses a series of quality metrics to
determine if any events might disrupt a user's journey. The metrics include:
temporal relevance, which considers if the event is ongoing during the user's
journey; geospatial relevance, which considers if the event's location and user's
10 http://purl.org/td/transportdisruption#
11 Published at http://www.travelinedata.org.uk/traveline-open-data/
traveline-national-dataset/.
12 Represented using the Transit ontology - http://vocab.org/transit/terms/.
13 http://data.gov.uk/dataset/naptan, represented using the NaPTAN ontology
http://transport.data.gov.uk/def/naptan/.
14 http://data.gov.uk/dataset/nptg, also represented with the NaPTAN ontology.
15 Represented using the LinkedGeoData ontology - http://linkedgeodata.org/
ontology/.
16 http://www.w3.org/ns/oa#
17 http://spinrdf.org/
18 Represented using PROV-O - http://www.w3.org/ns/prov#.
19 This uses the NextBus API (http://www.travelinedata.org.uk/
traveline-open-data/nextbuses-api/), which provides real-time arrival
information for all bus stops in the UK.</p>
      <p>oa:hasTarget
oa:hasTarget
:KingStreet a lgd:Road
rdfs:label "King Street"
wkb:TimeInterval_Today a
protont:TimeInterval
rdfs:label "today"
expected route of travel overlap, with more precise event locations (e.g. a road
the bus travels along) being assigned a higher relevance than less precise locations
(e.g. a locality the bus travels through); service relevance, which considers if the
event is known to a ect a bus service that the user will travel on; and veracity,
which is based on if the Tweet's author is included in a prede ned set of trusted
users (e.g. the bus operator, transport authorities, or a local radio station)20.</p>
      <p>If an event is rated with su ciently high temporal relevance and either
geospatial or service relevance, then a tailored message is generated by the
MicroNatural Language Generation (Micro-NLG) component, and sent to the user.
The message is based on the inferred event resource and attempts to convey the
level of certainty that the journey will be a ected, as indicated by the quality
metrics. For example, in Fig. 2 although the roadworks are on a road that the
bus travels on, no delays have been reported by the operator so the message
is deliberately vague using the phrase \may be a ected"; if the operator does
report delays on Service 1 in that area, this would change to a stronger phrase
such as \is highly likely to be delayed".</p>
      <p>A user study is planned to evaluate the TravelBot user experience and system
performance with inferring event descriptions from social media posts.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>T.</given-names>
            <surname>Camacho</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Foth</surname>
          </string-name>
          ,
          <article-title>and</article-title>
          <string-name>
            <given-names>A.</given-names>
            <surname>Rakotonirainy</surname>
          </string-name>
          .
          <article-title>Pervasive technology and public transport: Opportunities beyond telematics</article-title>
          .
          <source>Pervasive Computing</source>
          , IEEE,
          <volume>12</volume>
          (
          <issue>1</issue>
          ):
          <volume>18</volume>
          {
          <fpage>25</fpage>
          ,
          <string-name>
            <surname>Jan</surname>
          </string-name>
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <given-names>P.</given-names>
            <surname>Gault</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Corsar</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Edwards</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. D.</given-names>
            <surname>Nelson</surname>
          </string-name>
          , and
          <string-name>
            <given-names>C.</given-names>
            <surname>Cottrill</surname>
          </string-name>
          .
          <article-title>You'll Never Ride Alone: The Role of Social Media in Supporting the Bus Passenger Experience</article-title>
          .
          <source>In Ethnographic Praxis in Industry Conference Proceedings</source>
          , volume
          <volume>2014</volume>
          , pages
          <fpage>199</fpage>
          {
          <fpage>212</fpage>
          ,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          <article-title>20 While this can be considered a basic metric for event veracity, metrics considering other factors, such as the number of reports about an event, could be developed</article-title>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>