<!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>Twitter Event Detection and Modeling with TEWS</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Mykael Vigo</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Zohra Bellahsene</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Dino Ienco</string-name>
          <email>dino.ienco@irstea.fr</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Konstantin Todorov</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Irstea, UMR TETIS</institution>
          ,
          <addr-line>Montpellier</addr-line>
          ,
          <country country="FR">France</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>LIRMM / University of Montpellier</institution>
          ,
          <country country="FR">France</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>This paper introduces TEWS |Twitter Events on the Semantic Web, pronounced like \news"|a semantic web tool for detection and representation of events taking as an input the social stream Twitter. The tool assists the user throughout a complete processing chain, starting from the detection of events on Twitter, their modeling and representation following the semantic web principles, to their storing in an RDF knowledge base that can be further published on the Web of Data.</p>
      </abstract>
      <kwd-group>
        <kwd>Linked Data</kwd>
        <kwd>Event Extraction</kwd>
        <kwd>Twitter</kwd>
        <kwd>RDF Modeling</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        One of the goals of the Linked Open Data (LOD) initiative is to structure and
interconnect data on the web by using semantic web technologies, such as the
Resource Description Framework (RDF), thus taking the web of today up to
the level of a veritable information network [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. Although a considerable e ort
has been made in that direction throughout the last years, many sources of
information on the web still remain unexplored, although they contain useful
data bene cial for the LOD project. In this paper, we focus on the social medium
Twitter|a platform for the publication of short messages (tweets) of maximal
length of 140 characters. Twitter has became a major source of information about
important events, made available in real time by media and ordinary users. The
current paper describes TEWS, a tool that assists the user in the detection of
events discussed on Twitter and their representation conforming to the semantic
web principles in view of their publication on the web as RDF triples.
      </p>
      <p>
        The originality of the approach lies in the use of tweets produced by
conventional media (news agencies) in order to guide the event detection process on
the tweets produced by ordinary users (the crowd). Contrary to previous works,
in which the focus falls on event detection on Twitter [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] or the production of
RDF data from text [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], our proposal covers both tasks.
      </p>
    </sec>
    <sec id="sec-2">
      <title>Overview of TEWS</title>
      <p>TEWS takes as an input a corpus of tweets. We have developed a protocol for
the continuous constitution of a corpus by the help of the Twitter4J3 API, which
is designed to collect tweets from the social stream. As shown on the left hand
side of Fig. 1 (steps 1{3), we are interested in two sources of information: (1) the
conventional media, seen as a reliable and uninterrupted source of information
about events (such as ABC News, Al Jazeera, CNN, BBC, etc.), and (2) the
crowd (ordinary users). The latter is ltered by considering only tweets that
contain a hashtag or a keyword (a location) from the media tweets corpus. The
resulting set of tweets is continuously fed to TEWS in real time.</p>
      <p>
        The overall events detection work ow and their RDF representation is given
in Fig. 1. Steps 1{3 represent the corpus extraction procedure discussed above.
TEWS is responsible for the actual extraction of events and their modeling and
storing as RDF triples, given in steps 4{6. Step 7 illustrates the option that these
data are further included to the web of data following the well-established
publication protocol. As a design choice, the tool makes use of the MABED system
[
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] for detecting events and the WikiTimes [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] vocabulary for event modeling.
      </p>
      <p>
        Event Detection. MABED is based on statistical methods for the identi
cation of important events discussed by the users in a tweets corpus. In the rst
place, an event is de ned by a salient topic identi ed by a sudden increase of the
occurrence of certain key-words. An event is de ned by a main key-word and a
set of related terms. The e ciency of the approach is demonstrated in [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. Note
that the system is user-parametrizable with respect to time slices length and
consideration of mentions (preceeded by the @ symbol). The length of the time
slices has to be proportional to the length of the corpus constitution period.
      </p>
      <p>
        Event Modeling. After comparing various existing ontologies, we have chosen
the WikiTimes model for representing events, for it appeared to be the closest to
our vision of an event. WikiTimes allows for the creation of two types of resources
{ an event and a story (a sequence of events). We focus on simple events only.
3 http://twitter4j.org/en/index.html
Each event is anchored in the time and is characterized by several properties,
described in a speci c vocabulary, such as place and date of occurrence and
involved entities, as well as additional information (Fig. 2).
We explain how TEWS works through a case study. A video illustrating this
scenario is made available online4. The initial page of TEWS (Fig. 3(a)) allows
to de ne all the parameters our tool needs. It has three main areas: i) Corpus
selection: in this box we can specify the date (year, month, day) related to the
tweets collection. The tool will retrieve only tweets published in the speci ed
period. ii) Detection Parameters : this area allows to introduce the parameters
related to the MABED system [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. We can specify parameters like \maximum
number of events", \maximum number of related words", etc. iii) Corpus
Parameters : through this box we can specify the list of conventional media (news
agencies), from which TEWS extracts hashtags or keywords to lter events from
the general (crowd) stream of Twitter. In this case study, we choose to select all
the conventional media sources. The interface allows to select a portion of them.
Once parameters are chosen, the user can click on the Run detection button and
TEWS will collect tweets and the events will be extracted.
      </p>
      <p>
        Fig. 3(b) shows the results related to the speci ed period and the
parameters introduced in the previous step. We can observe that TEWS detects ten
events. Each event is described by the date, the location, the involved entities,
the sources and the textual description. From the result list we can select one
(or more) lines and visualize the corresponding RDF triples automatically
generated by TEWS. In the example, we select the rst event related to the Yemen
earthquake and the tool produces the corresponding RDF knowledge. The RDF
triples are visualized at the bottom of the page. The WikiTimes [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] vocabulary
4 https://www.dropbox.com/s/owc43372u47oe6k/tews_demo.mp4?dl=0
TEWS
is employed to name the events properties. A standard procedure, based on the
semantic web best practices, is deployed for creating resource URI's. At this step
the user can serialize the produced knowledge in di erent formats (RDF/XML,
N-Triplets, etc.) and the new set of RDF triplets can be successively published
on the web of data or managed by standard triplestore engine.
4
      </p>
    </sec>
    <sec id="sec-3">
      <title>Conclusion and Future Work</title>
      <p>We introduced TEWS |a new Twitter event detection tool that produces RDF
triples. The tool exploits conventional media sources to extract important
keywords to trace phenomena on the stream of tweets. TEWS supplies a complete
processing chain that combines state-of-the-art Twitter event detection with
semantic web technologies to produce new knowledge to share on the web of data.
As future work, we plan to improve the natural language processing aspects of
the tool (such as named entity recognition and word sens disambiguation in
order to lter out false entities, (i.e., exploit DBPedia). We also plan to integrate
other sources of information to enrich the knowledge extraction from Twitter
supplying a more complete description of the detected events.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>C.</given-names>
            <surname>Bizer</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Heath</surname>
          </string-name>
          , and
          <string-name>
            <given-names>T.</given-names>
            <surname>Berners-Lee</surname>
          </string-name>
          , \
          <article-title>Linked data - the story so far,"</article-title>
          <source>IJSWIS</source>
          , vol.
          <volume>5</volume>
          , no.
          <issue>3</issue>
          , pp.
          <volume>1</volume>
          {
          <issue>22</issue>
          ,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <given-names>A.</given-names>
            <surname>Guille</surname>
          </string-name>
          and
          <string-name>
            <given-names>C.</given-names>
            <surname>Favre</surname>
          </string-name>
          , \
          <article-title>Mention-anomaly-based event detection and tracking in twitter," in Advances in Social Networks Analysis</article-title>
          and
          <source>Mining (ASONAM)</source>
          ,
          <year>2014</year>
          IEEE/ACM International Conference on, pp.
          <volume>375</volume>
          {
          <issue>382</issue>
          , IEEE,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>R.</given-names>
            <surname>Anantharangachar</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Ramani</surname>
          </string-name>
          , and
          <string-name>
            <given-names>S.</given-names>
            <surname>Rajagopalan</surname>
          </string-name>
          , \
          <article-title>Ontology guided information extraction from unstructured text</article-title>
          .,
          <source>" IJVeST</source>
          , vol.
          <volume>4</volume>
          , no.
          <issue>1</issue>
          , p.
          <fpage>19</fpage>
          ,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <given-names>G.</given-names>
            <surname>Tran</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Alrifai</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T. N.</given-names>
            <surname>Nguyen</surname>
          </string-name>
          , and W. Nejdl, \
          <article-title>Wikitimess knowledge extraction and enrichment process</article-title>
          ,"
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>