<!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>The Senso Question Answering approach to Portuguese QA@CLEF-2007</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Jos´e Saias</string-name>
          <email>jsaias@di.uevora.pt</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Paulo Quaresma</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Departamento de Inform ́atica</institution>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Universidade de E</institution>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2007</year>
      </pub-date>
      <abstract>
        <p>The University of E´ vora team in QA@CLEF-2007 tested their Senso system in the Portuguese monolingual task. The system uses an ontology semantic information for text search terms expansion and for verification of concept equivalency or IsA/specialization relations. The full text collection is indexed and for each question it's done a search, for retrieval of possible relevant documents that may have one answer. The solver module engine starts by producing a First-Order Logic expression representing the question and a logic facts list representing the texts information. There is a logic-programming based module that looks for answers within the facts list that unify and validate the question logic form. For cases where the answer can be directly detected in the text there is an ad-hoc module. Then the logic and ad-hoc found results are merged and the solution with highest weight is selected. We sent one run result for evaluation. The overall accuracy was 42% and the Confidence Weighted Score was 0.19524. This paper has a description of our system.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>Experimentation
answer in the texts. Besides the usual newspapers collections from Pu´blico and Folha de S˜ao
Paulo, the system had to consider also the Portuguese articles from Wikipedia.
Other relevant innovation was the existence of clusters or groups of questions about the same
implicit topic, with possible anaphoric references between one question and the others. In such
case, the system identifies the topic either in the first question or in the first answer, as referred
in the guidelines.</p>
      <p>
        This QA system (Senso) is based on the authors previous work [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] and [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. It uses an ontology
as a knowedge base with semantic information usefull in several steps along the process.
The next section explains the system architecture. The followed methodology is described with
examples in section 3. The evaluation of the obtained results is presented in section 4. Finally,
some conclusions and future work are pointed out in section 5.
2
      </p>
    </sec>
    <sec id="sec-2">
      <title>System Architecture</title>
      <p>Senso Question Answer System has five major modules: Libs, Query, Solver, Ontology and Web
Interface. Figure 1 represents the way they are connected.</p>
      <p>The Libs Module contains collections of text documents. These collections are seen as libraries
that contain information needed for question answering. It had the five collections: Pu´blico and
Folha de S˜ao Paulo from years 1994 and 1995, plus the Wikipedia documents.
All the questions are firstly analyzed by the Query Module. The query group identifier determines
if a query will be associated with the first from that group. This module will also select a set of
relevant documents for each question, as explained later.</p>
      <p>When we have an isolated sentence it’s usually difficult to automatically capture its meaning.
The Senso Ontology module has a starting knowledge base with semantic information that helps
to perform the sentence analysis and the subsequent inference processes. This information is
structured by an OWL2 Ontology including concepts, relations and properties. The OWL language
has the intended semantic features and it is suitable for web publications, allowing us to share
parts of our knowledge base in a direct and appropriate manner.</p>
      <p>Besides concept “IsA” relations, the ontology includes some simple facts about everyday life that
might be very useful for text analysis. Our current ontology contains about 3500 concepts and
has several relations connecting them: isA, usedFor, locatedAt, capableOf and madeOf. These
concepts and relations represent a small common sense knowledge base about places, entities and
events. Some of the top-level concepts are shown in figure 2.</p>
      <p>The Solver Module performs a search for plausible answers in the identified relevant documents,
being aware of the semantic expressed in the ontology. It has a logic-programming based tool and
an ad-hoc answer selector.</p>
      <p>
        2OWL[
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] is the short name for Web Ontology Language and it is a language proposed by the W3C
consortium to be used in the Semantic Web for the representation of ontologies. This language is based in the previous
DAML+OIL (Darpa Agent Markup Language) language and it is defined using RDF (Resource Description
Framework).
The Web Interface layer allows an easier and friendly usage of the system, simplifying the analysis
of each intermediate step in the process, as illustrated in figure 3. This interface is used to browse
the ontology and to make small changes to it. We can also use a web browser application to search
for documents (or queries) and read them.
      </p>
      <p>Next section explains the methodology used to find the answers.</p>
    </sec>
    <sec id="sec-3">
      <title>Methodology</title>
      <p>This section explains our approach to CLEF-2007 Question Answer track in detail.
3.1</p>
      <sec id="sec-3-1">
        <title>Import the Text Collections</title>
        <p>The starting point is the information source: the document collections. This year we had 210734
newspaper texts and 336622 Wikipedia texts for the Portuguese target language. The XML
collection files were processed and split in single texts, along with important metadata. The Libs
Module keeps all these individual documents, being aware of their temporal context, which is
obtained from the collection.</p>
        <p>Because we needed to perform some text search operations, the collections were indexed at this
point with Lucene3, a full-featured text search engine library. Lucene scoring uses a combination
of the Vector Space Model and the Boolean model to determine how relevant a given document is
to a query.</p>
        <p>
          Each text was then processed with Palavras[
          <xref ref-type="bibr" rid="ref5">5</xref>
          ], a syntactical parser4 based in the Constraint
Grammars formalism that has a good coverage of the Portuguese language. This tool gives a
detailed morpho-syntactical representation of the text for latter usage.
3.2
        </p>
      </sec>
      <sec id="sec-3-2">
        <title>Question Analysis</title>
        <p>
          Each question is processed with the syntactical parser Palavras[
          <xref ref-type="bibr" rid="ref5">5</xref>
          ] and a semantic analyzer able
to obtain a partial semantic representation. The technique used for this process is based on
Discourse Representation Structures (DRS) [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ]. The partial semantic representation of a sentence
is a DRS built with two lists, one with the rewritten sentence and the other with the sentence
discourse referents. We are only dealing with a restricted semantic analysis and we are not able to
handle every aspect of the semantics. The DRS is a First-Order Logic expression which the logic
resolution tool will try to understand.
        </p>
        <p>Let us consider the following definition question, in this year’s edition:</p>
        <p>Quem ´e Boaventura Kloppenburg ?
3Apache Lucene is an open source project. http://lucene.apache.org/
4Tool developed by Eckhard Bick. VISL Project: http://visl.hum.sdu.dk/visl
be from zero to several hundreds. This avoids the computational complexity of dealing with more
than a half million texts. In the case where no candidate documents are found the system cannot
find an answer and the result is NIL.</p>
        <p>The Query Module produces the Lucene search query. This is done with the question text terms
and, for some, their related terms. So, if a question has something like “Which bird...” the text
search query will include synonyms of bird and specialization terms given by the Senso ontology,
such as eagle. This semantic operation in the query allows the retrieval of a text that may not
have the word bird but is still relevant as a possible answer source. Question 15 asked which tree
is present in the Lebanon flag. The answer was cedro (or cedar, in English). Being aware that
cedar is a tree was important to the process.</p>
        <p>When the question belongs to a cluster and it is not the first from that group the query is fed
with more terms, in order to include the implicit topic. The system goes back to that cluster’s
first question and gets their search terms and answer into the Lucene query.
3.3</p>
      </sec>
      <sec id="sec-3-3">
        <title>Solver Engine</title>
        <p>The Solver Module is the core piece in our methodology. It is responsible for finding a list of answers
for a query. Each answer has a weight and a support note: sentence or expression justifying the
answer and it’s document identifier, as we can see in figure 6 for the question 17:
O que ´e um barrete fr´ıgio ?</p>
        <p>The search for plausible answers is done on the Lucene selected documents by two tools: the
logic solver and the ad-hoc solver.</p>
        <p>
          The semantic analyzer used before for the query will now produce a DRS list for the selected
texts. This list is seen as a small and question dedicated knowledge base: the facts list. The logic
solver is a logic-programming based module that performs a pragmatic interpretation of the query
DRS over the full system knowledge base (the ontology and the facts list). It tries to find the best
explanations for the question logic form to be true. This strategy for interpretation is known as
“interpretation as abduction” [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ].
        </p>
        <p>The inference process is done with the Prolog resolution algorithm, which tries to unify the referents
from the query with referents from documents, in the facts list, with help from the semantic
information given by the ontology.</p>
        <p>The ad-hoc solver is an answer generator for specific cases where the possible solution can be
directly detected in the text. The system verifies each case specific conditions for the query and
text expressions. When the conditions are verified, that ad-hoc case gives one answer. Verifying
the conditions might include a term semantic test for equivalence or “IsA” relation with another
term, which is done by ontology analysis.</p>
        <p>Figure 7 has a list of answers for question 34:</p>
        <p>Qual o di^ametro de Ceres ?
This is a Factoid question about a measure. The ad-hoc solver identified the term diˆametro
(diameter) and searched for numerical answers, including the unit of measure (km, metros ).</p>
        <p>The logic and ad-hoc found results are then merged to a final and weight sorted list. The
answer merging process checks for repeated values and joins their support data, assigning the highest
weight to that result. When the system finds more than one result for a question the QA@CLEF
answer is the one with the maximum weight.
4</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>Results</title>
      <p>
        In this QA@CLEF’s edition, the Universidade de E´vora’s group registered for the monolingual
Portuguese task, as did in previous participation [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], in 2005. The proposed system was applied
to the set of 200 questions and one run output was sent for evaluation.
      </p>
      <p>A correct answer was found for 84 questions, which corresponds to an accuracy score of 42%.
This value represents a relative increment of 68% from our department last participation global
accuracy (25%).</p>
      <p>Analyzing the results by question category, we can say that most of the errors were in the 90
wrong NIL returned values, where the system could not find an answer. Then, the List and
Temporally Restricted questions represented a challenge and the obtained accuracy for these cases was
around 20%. In the Factoids category the system had an accuracy close to the overall value, it was
39.62%. The best relative accuracy result was achieved in the Definition question type: 61.29%.
Table 1 shows the accuracy values in more detail.</p>
      <p>Right</p>
      <p>Wrong</p>
      <p>Unsupported</p>
      <p>Inexact</p>
      <p>Accuracy
Question Type</p>
      <p>Nil
Temporally Restricted</p>
      <p>Definition</p>
      <p>Lists</p>
      <p>Factoids
All Questions</p>
      <p>#</p>
      <p>The overall Confidence Weighted Score over all assessed questions is 39.048/200 or 0.19524.
Comparing the current overall accuracy with the obtained in our department previous participation
we believe this system produced good results. However, it needs some improvements as explained
in the next section.
5</p>
    </sec>
    <sec id="sec-5">
      <title>Conclusions and Future Work</title>
      <p>In this paper we describe our Question Answering System for QA@CLEF-2007. Compared with
the system we used in 2005, the Senso system has a different methodology and is based in a
different ontology. The results obtained are quite satisfactory and better since our last participation.</p>
      <p>A preliminary analysis on the incorrect answers showed that some questions had no candidate
documents where to search for an answer. This means that the Lucene query used for document
retrieval failed in those cases.</p>
      <p>Our semantic analyzer also had some problems with DRS generation, while analyzing the
morphosyntactical representation of non-trivial sentences. Other problems were related to incorrect
pragmatic analysis, in the logic solver, due to ontology limitations and some lack of precision on the
semantic information taken from the text sentences.</p>
      <p>The Lucene search engine indexes all text collections and gives the system a list of documents
that may have an answer and need detailed analysis. This was important to avoid problems with
time constraints, because some of the hard work is now done only over the selected documents.
However, we need to correct the way the Lucene text search query is built, to fetch the answer
candidate documents where it currently cannot do it.</p>
      <p>We also intend to improve the Senso ontology. Since many operations in our methodology depend
on it’s content, it should be manually revised and extended. Along with this, some disambiguation
tool would help for better precision when a sentence concept is being related with an ontology
existent term.</p>
      <p>In a future QA@CLEF participation we intend to apply our system to other languages besides
the Portuguese monolingual task.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>Paulo</given-names>
            <surname>Quaresma</surname>
          </string-name>
          , Luis Quintano, Irene Rodrigues, Jos´e Saias and
          <string-name>
            <given-names>Pedro</given-names>
            <surname>Salgueiro</surname>
          </string-name>
          . The University of E´
          <article-title>vora approach to QA@CLEF-2004</article-title>
          . CLEF 2004 Working Notes.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>Paulo</given-names>
            <surname>Quaresma</surname>
          </string-name>
          and
          <string-name>
            <given-names>Irene</given-names>
            <surname>Rodrigues</surname>
          </string-name>
          .
          <article-title>A Logic Programming Based Approach To QA@CLEF05 Track</article-title>
          .
          <source>CLEF 2005 Working Notes.</source>
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3] Jos´e Saias and
          <string-name>
            <given-names>Paulo</given-names>
            <surname>Quaresma</surname>
          </string-name>
          .
          <article-title>A proposal for an ontology supported news reader and questionanswer system</article-title>
          .
          <source>Solange Oliveira Rezende et al. (Eds): 2nd Workshop on Ontologies and their Applications (WONTO'06) in the Proceedings of International Joint Conference, 10th IBERAMIA</source>
          ,
          <article-title>ICMC-USP, Ribeir˜ao Preto</article-title>
          , Brazil,
          <year>2006</year>
          . ISBN:
          <fpage>85</fpage>
          -
          <lpage>87837</lpage>
          -11-7.
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4] Jos´e Saias and
          <string-name>
            <given-names>Paulo</given-names>
            <surname>Quaresma</surname>
          </string-name>
          .
          <article-title>A methodology to create ontology-based information retrieval systems</article-title>
          .
          <source>Fernando Moura Pires and Salvador</source>
          Abreu (Eds):
          <source>Progress in Artificial Intelligence - Proceedings of the 11th Protuguese Conference on Artificial Intelligence</source>
          , EPIA'03,
          <string-name>
            <surname>Beja</surname>
          </string-name>
          , Portugal,
          <year>2003</year>
          . Springer-Verlag,
          <source>ISBN: 3-540-20589-6</source>
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>Eckhard</given-names>
            <surname>Bick</surname>
          </string-name>
          .
          <article-title>The Parsing System ”Palavras”. Automatic Grammatical Analysis of Portuguese in a Constraint Grammar Framework</article-title>
          . Aarhus University Press,
          <year>2000</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>Jerry</given-names>
            <surname>Hobbs</surname>
          </string-name>
          , Mark Stickel, Douglas Appelt, and Paul Martin.
          <article-title>Interpretation as abduction</article-title>
          .
          <source>Technical Report SRI Technical Note 499</source>
          , 333 Ravenswood Ave., Menlo Park, CA
          <volume>94025</volume>
          ,
          <year>1990</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <surname>Kamp</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          <article-title>and</article-title>
          <string-name>
            <surname>Reyle</surname>
          </string-name>
          , U. From Discourse to Logic. Kluwer: Dordrecht. 1993
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>Michael</given-names>
            <surname>Smith</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Chris</given-names>
            <surname>Welty</surname>
          </string-name>
          and
          <string-name>
            <surname>Deborah McGuinness</surname>
          </string-name>
          .
          <article-title>Owl web ontology language guide</article-title>
          .
          <source>Technical report</source>
          ,
          <year>2004</year>
          . http://www.w3.org/TR/owl-guide/
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>