<!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>Reasoning with temporal context in news analysis</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Igor Mozetic</string-name>
          <email>igor.mozetic@ijs.si</email>
        </contrib>
      </contrib-group>
      <abstract>
        <p>One aspect of implicit, contextual information is its temporal component. Explicating this component in a formal model makes it possible to disambiguate some context-dependent expressions and discover connections between expressions. We have implemented and extended Allen's algebra of temporal intervals in a reasoner that takes into account the linear nature of time and the granularity of temporal expressions (days/weeks/...). If this algebra is used to model the temporal extension of events, the reasoner can track and connect the reference of indexical expressions about them. We intend to use the reasoner for analysing news streams, to help discover connections between news items.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>INTRODUCTION</title>
      <p>
        This paper expresses the combination of our interests in the subjects
of context and ontologies, taken by themselves and in their
connections. On the more abstract, logico-philosophical side, there are the
questions of de nition and signi cance: what is context, what is
speci c about it, and how does it, its inclusion or its omission, affect
cognitive, deductive and computational processes. For example, getting
stuck into loops, for humans and for machines, might be conceived
as a loss of context. Judging by the many de nitions of context in
different disciplines, the notion of context is itself context-sensitive,
and it is hard to point out the speci c characteristic that distinguishes
context from background, prior knowledge and/or the multiplicity of
implicit facts and assumptions that is simply taken for granted,
unnoticed, left out or suppressed as too obvious to mention. This is
re ected in the reluctance in some important papers on context to
actually de ne it, such as McCarthy's [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], and in his insistence that
there is no universal context. In connection with ontologies, there
is also some context-dependence in the de nition of context:
ontologies supply context for browsing [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] (which again indicates that
context can be practically anything), but mappings between ontologies
supply context too, as in C-OWL [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ].
      </p>
      <p>
        On the more computational side, our interest is in ontologies of
time, or of the ways we refer to its passage, and in actual
implementations of automatic reasoning about temporal information. We
have implemented Allen's axiomatization of temporal relations, used
eg. in DAML-Time and SUMO [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ], in the constraint logic
programming system CLP(Q) [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]. We plan to use this implementation
in automatic news (stream) analysis, for disambiguating
contextdependent reference and for news classi cation. The remainder of
this paper gives more information about the axiomatization and its
implementation, and some examples of the intended application.
More generally, we have a hunch that some of the work done at our
Department, eg. on user pro ling and on simultaneous ontologies [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ],
can be formulated as programming context dependency, and we are
working on a convincing formulation.
In our news analysis system, we are mainly concerned with the
temporal aspects of context. The system will take into account the
time-stamp part of the metadata about news items, and temporal
models of the events reported, to distinguish related news items from
unrelated ones. Thus, our working hypothesis about temporal context
could be expressed in the equation
      </p>
      <p>
        temporal context(news) = temporal model + metadata(news)
This de nition was originally inspired by [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ], which deals with
contextual vocabulary acquisition (how to infer the meaning of a new
word from textual clues). It identi es two components of context:
prior knowledge (which is subject to belief revision) and co-text of
the word to be learned. In our case, the task is to nd a semantic
link between news items. The context of news is prior knowledge
in the form of a temporal model, and the metadata that comes with
the news. We do not deal with the model revision component, and
restrict our system to temporal aspects. However, causal, spatial and
other types of models and/or ontologies also represent prior
knowledge and thus t into our de nition of context. If the restrictions to
temporality and subject matter (news items) are dropped, the
equation above generalizes to the form
      </p>
      <p>context(X) = prior knowledge + co-data(X)
2</p>
    </sec>
    <sec id="sec-2">
      <title>TEMPORAL ALGEBRA AND ONTOLOGY</title>
      <p>
        Allen [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] proposed an interval algebra to represent relative temporal
information, such as the order of events. The representation of events
by time intervals rather than points allows the expression of
hierarchical, inde nite and incomplete information, at different levels of
granularity. The temporal algebra uses the thirteen possible relations
between time intervals, such as one interval starting or nishing
another interval, or being before or meeting another one.
      </p>
      <p>To represent inde nite and incomplete information, Allen uses
disjunction to allow any subset of the basic relations to hold between
two time intervals. A set of temporally related events forms a
network, with edges corresponding to (possibly disjunctive) relations
between events. There are two fundamental queries one can pose
about such a network:
² Find the feasible relations between all pairs of events, and
² Determine the consistency of the temporal relations.</p>
      <p>
        When we came accross this algebra, we were not aware of any
(complete) reasoner for it. Since its networks of temporal relations
express constraints on relations between intervals, we decided to
implement the algebra in a constraint logic programming system
CLP(Q) [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]. The implementation allows automatic reasoning about
temporal events, such as:
² If X precedes Y, and Y overlaps with Z, what are the possible
temporal relations between X and Z ?
² If X takes longer then Y, can X occur during Y ?
² Given a set of temporally related events, what are the possible
consistent scenarios on the time line ?
On top of this basic implementation, we formulated a generic
ontology of time which covers everyday concepts such as hours, days,
seasons, and the relations between them. Note that there is no xed
underlying time scale. This time ontology is similar to the speci
cations in SUMO [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], DOLCE [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], and DAML-Time [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], and has the
advantage of being executable.
3
      </p>
    </sec>
    <sec id="sec-3">
      <title>NEWS ANALYSIS</title>
      <p>Let us rst illustrate the desired feature of the analysis system by a
simple example. Suppose we receive two news items on two
subsequent days:
² Day1: Giant waves hit the shore early today.
² Day2: An ocean oor earthquake was detected yesterday.</p>
      <p>One interesting question that a news analyst might then ask is: Are
these news items related?</p>
      <p>There are various techniques used for news analysis, but all
essentially measure the degree of similarity between items. The metrics
used can be purely syntactic or increasingly based on semantics. We
might roughly distinguish three levels of (semantic) similarity:
1. purely lexical, based only on the presence of keywords
2. weak or lexicographic, taking into account taxonomic meaning
3. strong, using models of word referents
The models in question are formulated in terms of the temporal
ontology; in the case of the news items above, a relevant example would
be the temporal model of a tsunami, shown in Figure 1.
1 hour &lt; duration(Tsunami) &lt; 1 day</p>
      <p>starts
Earthquake</p>
      <p>Tsunami
before
or meets
finishes</p>
      <p>To detect whether the news items above are related or not, we
would use the following algorithm:</p>
      <p>1) When the rst news (waves) arrive, nd the temporal terms
(today) and resolve them locally, with respect to the news
metadata (time-stamp). The implicit temporal reference can then be
transformed into explicit reference in terms of the temporal ontology,
resulting in the temporal relation</p>
      <p>Waves during Day1
2) When the next news arrive (earthquake), the procedure gives</p>
      <p>Earthquake during previous(Day2)
Here, the reference yesterday is expressed by applying the
function previous to the current Day2.</p>
      <p>3) Reasoning with the temporal ontology gives (Figure 2):
previous(Day2) equals Day1
during
Waves
during</p>
      <p>Earthquake</p>
      <p>4) Reasoning with the tsunami model then shows that the news are
consistent with a tsunami. Therefore, we can formulate a defeasible
hypothesis: A tsunami is a possible explanation of the two events,
which links the news items in question.</p>
      <p>5) However, if the news say that</p>
      <p>Waves before Earthquake
the tsunami link will be ruled out as a possible explanation of the
news sequence.</p>
      <p>In this way, the temporal model can provide a stronger measure of
semantic similarity and thus increase the quality of the news analysis
system.
4</p>
    </sec>
    <sec id="sec-4">
      <title>CONCLUSION</title>
      <p>
        Our de nition of temporal context seems useful, especially for a
news analysis system, because it encompasses both static prior
knowledge and dynamic metadata (a sophisticated example of the use
of such data in reasoning with abductive constraint logic programs
is presented in [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ]). If experiments with the news analysis system,
augmented by the temporal ontology, the constraint logic program
and temporal models such as the tsunami model, prove successful,
other semantic models, such as causal and spatial, will be included
too. In the tsunami example, these would be needed to capture other
relevant relations, such as the fact that the earthquake needs to take
place under the see in roughly the same geographic area.
      </p>
    </sec>
    <sec id="sec-5">
      <title>ACKNOWLEDGEMENTS</title>
      <p>Supported by the Slovenian Research Agency, and the EU Projects
SEKT (IST-2003-506826) and NeOn (IST-2004-27595).</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          <article-title>[1] Daml-time</article-title>
          . http://www.cs.rochester.edu/ferguson/daml/.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <surname>Dolce</surname>
          </string-name>
          . http://www.loa-cnr.it/DOLCE.html.
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <surname>Sumo</surname>
          </string-name>
          . http://www.ontologyportal.org/.
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>J.F.</given-names>
            <surname>Allen</surname>
          </string-name>
          , `
          <article-title>Maintaining knowledge about temporal intervals'</article-title>
          ,
          <source>Communications of the ACM</source>
          ,
          <volume>26</volume>
          , 832
          <fpage>843</fpage>
          , (
          <year>1983</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>N.</given-names>
            <surname>Aussenac-Gilles</surname>
          </string-name>
          and
          <string-name>
            <given-names>J.</given-names>
            <surname>Mothe</surname>
          </string-name>
          , `
          <article-title>Ontologies as background knowledge to explore document collections'</article-title>
          ,
          <source>in Proc. RIAO-2004</source>
          , pp.
          <volume>129</volume>
          
          <issue>142</issue>
          ,
          <string-name>
            <surname>Avignon</surname>
          </string-name>
          , (
          <year>2004</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>P.</given-names>
            <surname>Bouquet</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Giunchiglia</surname>
          </string-name>
          ,
          <string-name>
            <surname>F. van Harmelen</surname>
          </string-name>
          ,
          <string-name>
            <surname>L.</surname>
          </string-name>
          <article-title>Sera ni, and</article-title>
          <string-name>
            <given-names>H.</given-names>
            <surname>Stuckenschmidt</surname>
          </string-name>
          , `
          <article-title>C-owl: Contextualizing ontologies'</article-title>
          ,
          <source>in Proc. 2nd ISWC</source>
          , pp.
          <volume>164</volume>
          
          <fpage>179</fpage>
          , (
          <year>2003</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <surname>Grobelnik</surname>
            <given-names>M.</given-names>
          </string-name>
          <string-name>
            <surname>Fortuna</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          and
          <string-name>
            <given-names>D.</given-names>
            <surname>Mladenic</surname>
          </string-name>
          , `
          <article-title>Background knowledge for ontology construction'</article-title>
          ,
          <source>in Proc. Contexts and Ontologies</source>
          , (
          <year>2006</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <surname>J. McCarthy</surname>
          </string-name>
          , `Notes on formalizing context',
          <source>in Proc. 13th IJCAI</source>
          , (
          <year>1993</year>
          ). http://www-formal.stanford.edu/jmc/context3/context3.html.
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <surname>I. Mozetic</surname>
          </string-name>
          , `
          <article-title>Temporal interval reasoning with clp(q)'</article-title>
          ,
          <source>in Proc. 8th IS2005</source>
          , pp.
          <volume>178</volume>
          
          <issue>181</issue>
          , Ljubljana, (
          <year>2005</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>I.</given-names>
            <surname>Niles</surname>
          </string-name>
          and
          <string-name>
            <given-names>A.</given-names>
            <surname>Pease</surname>
          </string-name>
          , `
          <article-title>Towards a standard upper ontology'</article-title>
          ,
          <source>in Proc. 2nd FOIS-2001</source>
          , Ogunquit, Maine, (
          <year>2001</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>W.J.</given-names>
            <surname>Rapaport</surname>
          </string-name>
          , `
          <article-title>What is the `context' for contextual vocabulary acquisition?'</article-title>
          ,
          <source>in Proc. 4th ICCS/ASCS-2003</source>
          , pp.
          <volume>547</volume>
          
          <issue>552</issue>
          ,
          <string-name>
            <surname>Sydney</surname>
          </string-name>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <surname>Madnick</surname>
            <given-names>S.</given-names>
          </string-name>
          <string-name>
            <surname>Zhu</surname>
            , Hongwei and
            <given-names>M.</given-names>
          </string-name>
          <string-name>
            <surname>Siegel</surname>
          </string-name>
          , `
          <article-title>Reasoning about temporal context using ontology and abductive constraint logic programming'</article-title>
          ,
          <source>Technical Report 15</source>
          , CISL, MIT, Cambridge, (
          <year>2004</year>
          ).
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>