<!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>A HMM-based Approach to Question Answering against Linked Data</article-title>
      </title-group>
      <contrib-group>
        <aff id="aff0">
          <label>0</label>
          <institution>Department of Enterprise Engineering, University of Rome Tor Vergata</institution>
          ,
          <addr-line>Roma</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>In this paper, we present a QA system enabling NL questions against Linked Data, designed and adopted by the Tor Vergata University AI group in the QALD-3 evaluation. The system integrates lexical semantic modeling and statistical inference within a complex architecture that decomposes the NL interpretation task into a cascade of three different stages: (1) The selection of key ontological information from the question (i.e. predicate, arguments and properties), (2) the location of such salient information in the ontology through the joint disambiguation of the different candidates and (3) the compilation of the final SPARQL query. This architecture characterizes a novel approach for the task and exploits a graphical model (i.e. an Hidden Markov Model) to select the proper ontological triples according to the graph nature of RDF. In particular, for each query an HMM model is produced whose Viterbi solution is the comprehensive joint disambiguation across the sentence elements. The combination of these approaches achieved interesting results in the QALD competition. The RTV is in fact within the group of participants performing slightly below the best system, but with smaller requirements and on significantly poorer input information.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>Language is the most powerful media for acquiring, communicating and sharing
knowledge. It has been optimized through centuries of use, successes and failures. Although
the Web of Data claims for machine readable standards, natural language is still the
preferred query language for naive users, early adopters and even experts in some
knowledge domains. Question answering is thus the crucial bottleneck for a truly and
universal adoption of Open Linked Data as a knowledge sharing paradigm and practice.</p>
      <p>
        In general, approaches for question answering range between rule-based (and strongly
deductive) systems, whose expressivity is harmonic with the knowledge representation
standards in the Web and whose precision is optimal, to shallow, basically lexicalist
approaches very close to the bag-of-words practices in document retrieval processes.
In the first family of systems, we could mention at least Swoogle [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] or Sindice [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ],
where entity search exploiting the Linked Data constraints are formulated and high level
of precision are in general achieved. Shortcomings of these approaches come from the
naive (user’s) dictionaries that can be very different from the data dictionary. In [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ] a
system that produces a SPARQL template that directly mirrors the internal structure of
the question and then instantiates the template, using statistical entity identification and
predicate detection is proposed. It relies on a linguistic analysis and adopts DRT over
parse trees through the extension of the Pythia system [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ]. By applying deep linguistic
analysis Pythia is demanding w.r.t. the lexical and grammatical knowledge needed to
cope with complex questions in heterogeneous domains. A general approach to question
answering over Linked Data is described in PowerAqua [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], that makes light
assumptions on the ontology vocabulary or schema and emphasizes the combination of large
data sets through filtering and ranking heuristics. The weaker linguistic component in
Poweraqua makes the treatment of complex questions difficult.
      </p>
      <p>
        An interesting vocabulary-independent approach is attempted in [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] which
combines entity search and lexical similarity metrics to compute semantic relatedness and
apply spreading activation onto RDF graphs. This work shares with the approach above
presented a lexicalist perspective that rely on a strong model of lexical semantic
information to solve most of the ambiguity and uncertainty problems arising in the
interpretation of the question. A similar combination of statistical inference and logic-based
representation is adopted in approaches focused on Semantic Parsing (e.g. [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]) where
graphical models are used to converge towards the correct interpretation of a sentence
in a predicate logic form, as well as in [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] where a HMM is employed in order to
obtain the right RDF subgraph for a natural language query, here the observed data and
the background knowledge is used for the HMM parameter estimation.
      </p>
      <p>In line with the latter, in this paper we present a novel contribution to the above
research line which combines symbolic reasoning over the semantic constraints on the
underlying Open Data repository and statistical inference. This latter is useful to
manage the ambiguity introduced by natural language within a complex process for the
interpretation of the question, that integrates distributional semantic models of lexical
information and probabilistic inference. In this way, we aim at solving at least two
problems. The first one is the localization and retrieval of ontological elements evoked by
a question without relying on strict hypothesis on the resource vocabulary. Second, we
jointly solve the different ambiguities arising in the interpretation by integrating
question grammatical structures and ontology information. The idea is to map the different
inferences into a generative graphical model, i.e. an Hidden Markov Model of the
question. It works as a bridge between the linguistic and the RDF structures, i.e the syntactic
dependency graph of the question on the one side and the full paths in the RDF graph,
on the other. The rest of the paper is organized as follow: Section 2 presents an overview
of the systems architecture and introduces the HMM notions. Section 3.1 discusses in
more detail the modeling of the input question through a Hidden Markov Model, and
the resulting RDF sub-graph obtained. The process of mapping the HMM output into
the SPARL Template is discussed in Section 3.4. Finally, in Section 4, a first analysis
of the QALD-3 results are discussed with some final considerations.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Architectural Overview</title>
      <p>The overall architecture of the RTV1 system is shown in Figure 1 where the core
components of the system are within the main box and interacts with auxiliary preexisting
modules and resources. The treatment of a sentence as carried out by the core system</p>
      <sec id="sec-2-1">
        <title>1 RTV is the acronym of Roma Tor Vergata</title>
        <p>can be summarized as follows. First an analysis of the syntactic (dependency) graph is
carried out where proper nouns related to DBpedia resources are detected and classified
in the so-called HMM initialization stage. In the HMM all the observations about key
entities or classes are selected from the question, as they refer to ontological elements,
i.e. mentions to entities, literals and relations (or properties). In the HMM modeling
stage, the states, emissions and transitions of the Markov chain are defined. States
corresponds to the RDF elements retrieved by a question fragment from DBpedia: these
elements may correspond to resources, classes or relations. The HMM best sequence of
states is computed in the decoding module, here a disambiguation process is imposed
exploiting the combination of statistical and ontological constraints obtaining a state
sequence which can be mapped into a RDF sub graph.</p>
        <p>The process, triggered by a grammatical analysis of the input question, foresees
three main components deal with the initialization, modeling and decoding of the HMM
and a final stage to compile the resulting SPARQL query. A detailed description of such
modules is given in Section 3.</p>
        <p>
          Besides a syntactic parser, i.e. Chaos [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ] whose result is a chunk-based dependency
graph, a number of external resources are made available:
– A wordspace in line with distributional semantic methods [
          <xref ref-type="bibr" rid="ref10 ref11 ref9">11, 10, 9</xref>
          ] is derived from
the Wikipedia corpus. It provides lexical entries in form of real-valued vectors for
a large dictionary including Named Entities as well as multiword expressions.
Lexical similarity metrics is thus made available between word pairs, modeled in the
space as cosine similarity.
– Lucene2 has been applied as a retrieval tool for DBpedia concepts. DBpedia
resources are retrieved (and properly ranked) as pseudo-documents, whereas
grammatically meaningful fragments of the question can used as queries. Notice how
resources or fragments can be mapped into the above wordspace3. Their similarity
can be thus applied to rank the retrieved candidates in a semantically meaningful
manner;
– DBpedia labels are also exploited, as they provide an extensive catalogue of Proper
Nouns made available to the Chaos parser [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ]. Given an input question, the parser
carried out the recognition of most resource names (as possibly ambiguous Named
Entities) as well as of the syntactic dependencies they are involved in.
3
        </p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>An HMM-based QA system over Linked Data</title>
      <p>Our objective is the modeling the interpretation of the natural language query q into the
ontology domain D through the following set of HMM random variables:
– The observation set L = fl1; :::; lmg, in our case the observation set is computed
over the set of symbols of the sentence q,
– the set of States O = fo1; :::; ong, that models the ontological resources 2 D
candidate to be a suitable interpretation for the observation set L,
– the emission matrix E : L O ! [0; 1] models the probability that an observation
l evokes the state o, i.e., the corresponding ontological resource,
– the transition matrix T : O O ! [0; 1] models the transition probability from the
state oi the the state oj , these probability model the reachability of the state oj from
the state oi. They help explaining the semantics of relationships between hidden
states, i.e. inferential steps that correspond to the transversal of RDF graphs along
specific paths.</p>
      <p>Both emissions and transition probabilities are estimated on the fly, i.e. against the
incoming sentence, just before applying the traditional decoding algorithms (i.e. Viterbi)
to the resulting HMM. The outcome of the decoding stage is a full RDF path, that
corresponds to one interpretation of classes (such as Person), instances as well as relations.
In the next subsections each step of the HMM modeling is discussed.</p>
      <sec id="sec-3-1">
        <title>3.1 Initializing the HMM graph</title>
        <p>The sentence segmentation for the generation of the observation set L is driven by the
syntactical structure of the sentence q. The HMM initialization process proceeds by
selecting the root of the dependency graph and navigating all the syntactic relations,
by thus enumerating the entire set of predicate expressions (e.g. die in the sentence
2 http://lucene.apache.org/core/
3 Short texts are usually expressed by the vector that is the linear combination of vectors
corresponding to the involved words.
in Figure 2) as well as their direct arguments (such as Where and Abraham Lincoln).
The generated set of HMM observations is thus bipartite into two sets: nodes (that
corresponds to nodes or literals in the RDF graph) and relations (i.e. links in the RDF
graph), alternating in the Markov chain.</p>
        <p>The resulting sets of nodes and links gives rise to one chain with the precedence
assigned to the focus of the question (i.e. the place introduced by Where) used as initial
node). The resulting observation chain for the sentence Where did Abraham Lincoln
die? is shown at the bottom of Fig. 2 in which Where corresponds to the first node
and the rest of the chain links together the other different nodes and relations. Notice
how relations (e.g. die) alternate with elements but all of them align into a sequence.
Moreover, proper nouns (e.g. Abraham Lincoln) are specifically treated as the Chaos
parser lexicon has been enriched in the experiments with the catalogue derived from
the values of the field label in DBpedia elements.</p>
        <p>The analysis of the sentence ends when all grammatically relevant elements
(basically nouns, verbs and adjective) give rise to an observation in the targeted Markov
chain.</p>
      </sec>
      <sec id="sec-3-2">
        <title>Modeling question semantics through states, transitions and emissions: the</title>
      </sec>
      <sec id="sec-3-3">
        <title>HMM modeling stage</title>
        <p>During the HMM initialization, key elements in the sentence are detected and their
associated ontological elements are located in the ontology. Key elements correspond
to linguistic expressions defined as observations. In this way, a sequence corresponding
to a Markov chain is generated. In the interpretation process targeted here, the HMM is
designed as a generative model of the question. The model provides statistical evidence
about the way a question is generated as a request against RDF resources that form a
graph. In order to fully define the HMM, we still need to make the set of observations
L correspond to states O, and determine the corresponding transition and emission
probabilities. The following modeling choices must be carried out:
– How to map linguistic expressions, such as proper nouns (e.g. Where, Abraham
Lincoln) or predicate structures (e.g. die), to ontological elements such as
DBpedia instances (e.g. possibly ambiguous Wikipedia pages) or relations such as
deathDate
– How to model the notion of emissions E, that characterize the relationship between
hidden states and observable linguistic structures
– How to model the notion of transitions T that help explaining the semantics of
relationships between hidden states, i.e. inferential steps that correspond to the
transversal of RDF graphs along specific paths</p>
        <p>In this work, we mapped DBpedia resources, classes as well as relations or
properties into HMM states: they justify (as emissions) the observable linguistic structures,
i.e. key entities of the question. While observations correspond to an open set of
linguistic symbols W , by relying on a large scale semantic lexicon developed through
corpus analysis, we will be able to map them into ontology element set D. Transitions
corresponds to links between RDF elements and have a clear ontological status
determined by DBpedia. Notice how probabilities equal to 0 can be used to constraint the
semantics of a transition and model DBpedia links. On the other hand, more plausible
interpretations receive higher probabilities, according to the context of the question.</p>
      </sec>
      <sec id="sec-3-4">
        <title>Estimating emissions probabilities through distributional semantics An emission</title>
        <p>connects a linguistic expression l to an ontological element o and its probability in the
HMM is</p>
        <p>
          p(ljo)
The population of the state space and the estimation of p(ljo) is defined through an
information retrieval process. First, the linguistic expression l related to a fragment
of the dependency graph is generated. Ontological elements o for different linguistic
expressions l are also different, and they must be precisely located in the ontology:
– when instances are involved (as proper nouns are detected in the question), first the
query is executed against a search engine devoted to index the different DBpedia
instances; the index is built over the long abstracts of the resource made available
by DBpedia. The query corresponds to the expression l itself (e.g. Abraham
Lincoln) and a number of resources (in which l is more or less explicitly mentioned)
are retrieved. As linguistic expressions are represented in vectors (as in [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ]),
after retrieval, a further reranking stage is applied. Every returned candidate o also
consists in a linguistic expression and a vector o, whose similarity with the vector
l corresponding to l, is used as the final ranking score: candidates o that are
semantically more related to the entire question, i.e. their vector in the space is closer
to the vector l, are given higher priority. More in detail the following probability
estimate is used p^(ljoi) = Pjk=1 ij++(k1+1) 1 where the factors i represent the
similarity score between the linguistic expression l and the ontological resource (i.e.
DBpedia entity) oi, as it is measured in the word space: details of the estimation
are given in the next subsection.
– when a common noun is involved (as it does not allow to retrieve any specific
resource), a corresponding class is searched for. Classes o in DBpedia are indexed
beforehand: the expressions found in the label field of the concept o correspond
to a vector representation based on the description field of the corresponding
DBpedia resource. If a nominal chunk is extracted from a question, ontological classes
o can be retrieved if their vector are more similar to l than a given threshold4 in
the space. For every noun l, multiple classes are retrieved in general
corresponding to the DBpedia classes available closer in the vector space. The estimation of
the p(ljo) is again based on the similarity measure between l and o. More in
detail the following probability estimate is used p^(ljoi) = Pjk=1 ij++(k2+1) 2 where
the i factors are the cosine similarity estimates of the semantic similarity between
the vector representation of the linguistic expression l and the vector related to the
ontological object oi and 2 is a further smoothing factor that enables an empty
value (state) as a literal (i.e. non related to any ontological notion) interpretation
of l . Notice how given an expression l we retrieve in the wordspace the k closer
ontological classes o1; :::; ok, in order not to generalize too much: the probability
estimates increases for more similar o’s and decreases according to the decrements
of the cosine measure.
– Relationship labels are treated similarly to classes. DBpedia relations form a closed
dictionary that can be indexed in the word space beforehand. Infact, their lexical
labels, such as in the case of spouse for the spouse relation, are indexed through
their word vectors. The relationship dictionary thus formed is used to retrieve the
relationships involved in a question. First, all the ontological relations in the
dictionary that are linked to someone of the entities evoked in the previous step (i.e.
the key entities of the question already derived from DBpedia) are collected: this
set is the target relationship set, T RS. They involve several relations or properties
admissible as they linked with the key entities detected in the question. Moreover,
every relationship is triggered in the question from a linguistic expression l (such
as married). Its DBpedia counterpart must be found in the T RS set. First, l is
mapped to a vector l through its name (such as in the case of die that is represented
by the vector of die) or through a more complex pattern5. When l and T RS are
given, the relationships reli in the dictionary that are in T RS and close enough
to l are retrieved. They are individually mapped to different states corresponding
to relations known in DBpedia, and ranked according to their descending semantic
relatedness (die vs. deathPlace) in the word space. Notice that complex class labels
(e.g. deathDate) can be also processed through a distributional semantic model:
while co-occurrence vectors are obtained from the corpus for the individual words
that compose the label, they can be linearly combined to represent complex
com
        </p>
        <sec id="sec-3-4-1">
          <title>4 A threshold of 0.8 on the cosine similarity is imposed in the settings.</title>
          <p>5 Notice that if a DBpedia relation corresponds to a complex linguistic expressions, i.e.
writtenBy), the distributional analysis can be carried out for the entire pattern (i.e.
written by) as it occurs in the corpus. In all cases thus gives rise to a unique vector for the entire
pattern.
binations. Technically, the estimate for the emission probability for a generic reli
is: p^(ljoi) = Poj 2TiRS j where l is the linguistic expression for a relation, oj
belongs to the target relationship set T RS and are cosine estimates of the lexical
similarity between l and oj . No smoothing factor is here applied, so that poorly
similar relationship in T RS can be retrieved from l and no external relation (or
literal relational expression) is admitted for l.
– When no relationship can be found at the previous stage, the system must deal
with complex linguistic relational expressions, denoted by cl. A further attempt
is carried out to map these expressions to the relations and properties of individuals
extending their linguistic processing. As the target ontological relation in this case
is unknown (i.e. the set of DBpedia properties are out of the closed dictionary of
relationships delivered with DBpedia 6, parsing is carried out over such an complex
cl, in order to extract its linguistic head, denoted by hcl. The vector hcl
corresponding to hcl is selected from the word space used as a representative of the multiword
expression. Similarly to the previous step, it is used as a query to retrieve the
involved ontological relationships from the target relationship set T RS. All relations
or properties closer than a given threshold to h are added to the set of as potential
states for the underlying observation (i.e. cl). Also in this case, the probability
estimate is: p^(cljoi) = p^(hcljoi) = Poj 2TiRS j where cl is the complex linguistic
expression, oj still belongs to the target relationship set T RS and j are the cosine
estimates of the lexical similarity between the expression head hcl and oj . Again,
no smoothing is here applied.</p>
          <p>At the end of the above phase the entire lattice structure is built, where columns (i.e.
states) are fullfilled and emission and transition probabilities are estimated. The vector
space treatment of the probabilities is discussed in the next section.</p>
          <p>
            Probability Estimation in the HMM and distributional lexical similarity As we
defined in the previous section, a word space is derived for representing: (1) the lexicon
for individual words as they are used in the DBpedia corpus; (2) the ontological classes
and entities through the linguistic expressions corresponding to their labels; (3) the
ontological relations and properties as they appear in the DBpedia closed dictionary; (4)
unknown ontological relations, occurring in a specific target relation set, i.e. originating
by the RDF triples regarding one or more key entities retrieved for a question, but
missing from the DBpedia relationship catalogues. In all this case, an ontological element oi
is made corresponding to a word vector, hereafter denoted by oi: for example spouse
correspond to the vector spouse. In this work we use the distributional behavior of the
word as an hint on the relationship semantics, and this distinguishes our HMM based
approach either from the work by [
            <xref ref-type="bibr" rid="ref5">5</xref>
            ] and [
            <xref ref-type="bibr" rid="ref12">12</xref>
            ].
          </p>
          <p>
            We captured the distributional behavior of words in a word space similarly to [
            <xref ref-type="bibr" rid="ref10">10</xref>
            ].
The similarity function applied for the retrieval and ranking of different concepts oi is
based upon a distributional analysis [
            <xref ref-type="bibr" rid="ref9">9</xref>
            ]: each concept oi corresponds to a set of
textual contexts in which its corresponding lexical expression l appears (Distributional
6 for the set of DBpedia relations we refer to the file mappingbased properties en.nt
Hypothesis, [
            <xref ref-type="bibr" rid="ref7">7</xref>
            ]). In our work, contexts are still words (or features) w that appear in a
nwindow around a target expression l. Such a space models a generic notion of semantic
relatedness: two words close in the space are likely to be either in paradigmatic or
syntagmatic relation, as discussed in [
            <xref ref-type="bibr" rid="ref10">10</xref>
            ]. Weights are given to co-occurrences between l
and its features w through point-wise mutual information, as discussed in [
            <xref ref-type="bibr" rid="ref14">14</xref>
            ]. Finally,
the resulting word-by-features context matrix M is decomposed through Singular Value
Decomposition (SVD) [
            <xref ref-type="bibr" rid="ref6">6</xref>
            ] into the product of three new matrices: U , S, and V so that
S is diagonal and M = U SV T . M is approximated by Mk = UkSkVkT in which only
the first k columns of U and V are used, and only the first k greatest singular values are
considered. This approximation supplies a way to project a generic expression l
(being it or not corresponding to an ontological concept oi) into the k-dimensional space
using W = UkSk1=2, where each row corresponds to the representation vectors l.
Therefore, given an expression l and an ontological element oi, the similarity function is
estimated as the cosine similarity between the corresponding projections l; oi, i.e
(l; oi) =
          </p>
          <p>l oi
klkkoik
The application of the above semantic relatedness measure to the transitions in an
example sentence is shown in Fig. 3: only states that have a not null semantic similarity with
an observation are given a numerical score, where scores are mapped in probabilities as
in Sect. 3.2.</p>
          <p>In QALD-2103, we applied the above method to the DBpedia corpus, made of all
the textual descriptions associated with more than 3.77 million of entities in version 3.8.
More specifically, to build the matrix M , POS tagging is first applied to build rows with
pairs hlemma, ::POSi, or lemma :: P OS in brief. The contexts around these items are
the columns of M and co-occurrences are computed within windows of size [ 5; +5]
around the items l. This allows to better capture syntactic properties of individual l.
The most frequent 20,000 lemmas (i.e. l) are selected along with their 20k contexts
(i.e. features w). The entries of M are the point-wise mutual information between them
as computed in the entire corpus. The SVD reduction is then applied to M, with a
dimensionality cut of k = 250.
3.3</p>
        </sec>
      </sec>
      <sec id="sec-3-5">
        <title>HMM decoding for semantic disambiguation</title>
        <p>In Fig. 3 the lattice corresponding to the sentence Where did Abraham Lincoln die?
is shown. Emission probabilities are shown as nodes scores, while the different set of
states for the three individual observations are reported. Transition probabilities are not
made explicit. Their treatment is very basic in the current system. First we select
transitions that are compatible with the range constraints of the DBpedia data: only transitions
whose relations (or properties) are semantically compatible with the links in the
DBpedia RDF graph receive a non zero probabilities. The graph is strongly simplified in
this way although a fully connected HMM is obtained in most of the cases. Then the
probability of the transitions are normalized through a maximum entropy perspective:
if n nodes o1; :::; on are reachable from a given state o^t, as they satisfy all semantic
constraints, then the transition probability p(oijo^t) = 1=n for each i = 1; :::; n. In this
way, every consistent transition is equally likely for the system.</p>
        <p>
          The decoding stage, often called Viterbi [
          <xref ref-type="bibr" rid="ref4">4</xref>
          ] decoding, corresponds to the
selection of the most likely state sequence (i.e. RDF path) able to justify the key semantic
elements of the question. It provides thus the selection of a suitable RDF path (i.e.
a subgraph) from which a unique SPARQL query can be easily derived. Notice how
likelihood here implies the satisfaction of most semantic constraints as well as the
maximization of the overall semantic relatedness, and well captures the need of fuzzy
reasoning over the semantic ambiguity introduced linguistically.
        </p>
        <p>
          In view of increasing robustness, also a form of smoothing is applied as in [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ]. One
or more special states are artificially added to every obervation related to a key entity.
In order to account for possible mistakes in the retrieval process, we introduce a default
state corresponding to a literal interpretation of a linguistic symbol: although it does
not give rise to any constraint in the target SPARQL query, the default state is used to
account for errors or lack of information in the source RDF data. In Figure 3, we can
see two default states related to position one (Where) and three (Abraham Lincoln): for
example, it can be seen as a way to model also the interpretation of Abraham Lincoln
as a simple string and not an individual. These empty interpretations cumulate a small
probability proportional to as introduced in 3.2: these values have been empirically
defined and no specific estimation has been applied onto the available training data in
QUALD.
        </p>
      </sec>
      <sec id="sec-3-6">
        <title>SPARQL query compilation</title>
        <p>In this module the resulting SPARQL query is generated starting from the RDF path
obtained from Viterbi. Here, in order to obtain a consistent SPARQL query, the resulting
RDF path is validated wrt the domain and range constraints imposed by the relational
object in the RDF graph. For instance,for the HMM trellis in Figure 3 the resulting
graph is ?x dbo:deathPlace res:Abraham Lincoln . While the single
elements are a correct interpretation for the NL input question, the resulting graph has the
argument constraint order reversed for dbo:deathPlace. Here the correct order for
the graph is computed, and the SPARQL query is built selecting the right query form.
For the QALD evaluation we exploited the input feature answertype to select the right
SPARQL form.
4</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>Results and discussion</title>
      <p>
        The RTV system has demonstrated a non-trivial performance, as reported in Table 1.
Its third place is mainly due to its poor coverage of the set of sentences with a good
balance between precision an recall. Given that, except for the named entity dictionary
made available to the parser, the system does not rely on any resource specific
dictionary, technique or heuristics this result is very promising. The method is fully portable
as language processing and a general parsing technology, i.e. Chaos [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], is adopted.
Moreover, fully general representations, methods and assumptions are employed. The
core idea to model the disambiguation task as a side effect of large scale indexing of the
reference ontology combined with a generative model of semantics is convincing and
effective. The probabilistic approach, i.e. HMM, has been applied straightforwardly,
and the estimates of its parameters have been fully automated. No tuning of the
different model and system parameters has been carried out on the provided training set
in QUALD, mostly for lack of time. The obtained results were really the very early
outcomes also for the Tor Vergata team.
      </p>
      <p>The adopted model appears very promising especially for its portability across other
domains as well as other languages. On the one side emission probabilities model the
plausibility of interpretations (i.e. resources, relations or properties) as semantically
related to observed syntactic structures (i.e. proper nouns but also verbs or nominal
compounds). On the other side transition probabilities model the semantic relatedness
across individual structures retrieved through distributional lexical semantic metrics.
Finally, the Viterbi decoding guarantees a straight joint disambiguation process that acts
on the global level of the sentence, and robustly accounts for individual interpretations
interacting against the underlying syntactic structures.</p>
      <p>A specific error analysis aiming at assessing the contribution of the individual stages
in the processing chain has been carried out. In about 70 partially (or mistakenly)
processed sentences, we observed that missing relations in the HMM is the major source
of error (about 50%). In these cases the system was unable to lexically translate the
underlying relation (e.g. admittancedate ): these were made available by the
involved resources but it was not possible to properly locate it in the question (basically,
unresolved anaphoric references or implicit arguments). An example is the case of a
prepositional phrase such as ”(... book) by Kerouac (...)” that elliptically refers to the
predicate ”writing a book”. Given the absence of an explicit lexical reference to the
predicate ”writing”, no retrieval of the proper relation writtenBy could be obtained,
so that the HMM was inconsistently generated.</p>
      <p>In a lower percentage of errors (below 20%), the mistake is generated by the Viterbi
decoding phase, that fails to properly disambiguate the entities (i.e. select the proper
state sequence) even if a well formed and consistent trellis was available: the output
path produced by Viterbi was including wrong resources, thus preventing to compile
the correct SPARQL query. In a small number of cases, the output of Viterbi is not
properly connected to any resource (as the smoothing foreseen for a literal
interpretation of a symbol in the sentence is selected for too many observations), and no semantic
constraint was available to build the SPARQL query. These queries were simply
rejected.</p>
      <p>In future work, we will optimize parameters (e.g. the acceptance threshold imposed
to the probability attached to the ”best” Viterbi path) as these have not been studied
in enough detail. Moreover, the current initialization of the HMM, basically
dependent on the dependency graph, makes use of no semantics, e.g. no access to the
DBpedia resources is done during the HMM initialization stage. We hypothesize here large
improvement for methods that directly exploit ontological resources to initialize the
HMM: this would allow to improve the treatment of relations as well as to early prune
inconsistent interpretations. In the QUALD meeting, while we assume to bring a larger
experimental evidence, and a quantitative discussion about the main weaknesses
mentioned above, we will report of the system application on RDF data different from the
QUALD data, in order to better generalize the system assessment.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Basili</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zanzotto</surname>
            ,
            <given-names>F.M.:</given-names>
          </string-name>
          <article-title>Parsing engineering and empirical robustness</article-title>
          .
          <source>Nat. Lang. Eng</source>
          .
          <volume>8</volume>
          (
          <issue>3</issue>
          ),
          <fpage>97</fpage>
          -
          <lpage>120</lpage>
          (
          <year>Jun 2002</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Chen</surname>
            ,
            <given-names>D.L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mooney</surname>
          </string-name>
          , R.J.:
          <article-title>Learning to interpret natural language navigation instructions from observations pp</article-title>
          .
          <fpage>859</fpage>
          -
          <lpage>865</lpage>
          (
          <year>August 2011</year>
          ), http://www.cs.utexas.edu/ users/ai-lab/?chen:aaai11
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Finin</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Peng</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Scott</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Joel</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Joshi</surname>
            ,
            <given-names>S.A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Reddivari</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pan</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Doshi</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ding</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          :
          <article-title>Swoogle: A search and metadata engine for the semantic web</article-title>
          .
          <source>In: In Proceedings of the Thirteenth ACM Conference on Information and Knowledge Management</source>
          . pp.
          <fpage>652</fpage>
          -
          <lpage>659</lpage>
          . ACM Press (
          <year>2004</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Forney</surname>
            ,
            <given-names>G.D.:</given-names>
          </string-name>
          <article-title>The viterbi algorithm</article-title>
          .
          <source>Proc. of the IEEE</source>
          <volume>61</volume>
          ,
          <fpage>268</fpage>
          -
          <lpage>278</lpage>
          (
          <year>March 1973</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Freitas</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Oliveira</surname>
            ,
            <given-names>J.a.G.</given-names>
          </string-name>
          ,
          <string-name>
            <given-names>O</given-names>
            <surname>'Riain</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            ,
            <surname>Curry</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            ,
            <surname>Da</surname>
          </string-name>
          <string-name>
            <surname>Silva</surname>
          </string-name>
          ,
          <string-name>
            <surname>J.a.C.P.</surname>
          </string-name>
          :
          <article-title>Querying linked data using semantic relatedness: a vocabulary independent approach</article-title>
          .
          <source>In: Proceedings of the 16th international conference on Natural language processing and information systems</source>
          . pp.
          <fpage>40</fpage>
          -
          <lpage>51</lpage>
          . NLDB'
          <volume>11</volume>
          , Springer-Verlag, Berlin, Heidelberg (
          <year>2011</year>
          ), http://dl.acm.org/ citation.cfm?id=
          <volume>2026011</volume>
          .
          <fpage>2026017</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Golub</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kahan</surname>
            ,
            <given-names>W.</given-names>
          </string-name>
          :
          <article-title>Calculating the singular values and pseudo-inverse of a matrix</article-title>
          .
          <source>Journal of the Society for Industrial and Applied Mathematics: Series B, Numerical Analysis</source>
          <volume>2</volume>
          (
          <issue>2</issue>
          ), pp.
          <fpage>205</fpage>
          -
          <lpage>224</lpage>
          (
          <year>1965</year>
          ), http://www.jstor.org/stable/2949777
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Harris</surname>
            ,
            <given-names>Z.</given-names>
          </string-name>
          :
          <article-title>Distributional structure</article-title>
          . In: Katz,
          <string-name>
            <given-names>J.J.</given-names>
            ,
            <surname>Fodor</surname>
          </string-name>
          ,
          <string-name>
            <surname>J.A</surname>
          </string-name>
          . (eds.)
          <source>The Philosophy of Linguistics</source>
          . Oxford University Press (
          <year>1964</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Lopez</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Nikolov</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sabou</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Uren</surname>
            ,
            <given-names>V.S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Motta</surname>
          </string-name>
          , E.,
          <string-name>
            <surname>d'Aquin</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Scaling up questionanswering to linked data</article-title>
          .
          <source>In: EKAW</source>
          . pp.
          <fpage>193</fpage>
          -
          <lpage>210</lpage>
          (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Pado</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lapata</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Dependency-based construction of semantic space models</article-title>
          .
          <source>Computational Linguistics</source>
          <volume>33</volume>
          (
          <issue>2</issue>
          ) (
          <year>2007</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Sahlgren</surname>
            ,
            <given-names>M.:</given-names>
          </string-name>
          <article-title>The Word-Space Model</article-title>
          .
          <source>Ph.D. thesis</source>
          , Stockholm University (
          <year>2006</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11. Schu¨ tze, H.:
          <article-title>Word space</article-title>
          . In: Hanson,
          <string-name>
            <given-names>S.J.</given-names>
            ,
            <surname>Cowan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.D.</given-names>
            ,
            <surname>Giles</surname>
          </string-name>
          , C.L. (eds.) NIPS 5, pp.
          <fpage>895</fpage>
          -
          <lpage>902</lpage>
          . Morgan Kaufmann Publishers, San Mateo CA (
          <year>1993</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Shekarpour</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ngomo</surname>
            ,
            <given-names>A.C.N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Auer</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          :
          <article-title>Keyword-driven resource disambiguation over rdf knowledge bases</article-title>
          . In: Takeda,
          <string-name>
            <given-names>H.</given-names>
            ,
            <surname>Qu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            ,
            <surname>Mizoguchi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            ,
            <surname>Kitamura</surname>
          </string-name>
          ,
          <string-name>
            <surname>Y</surname>
          </string-name>
          . (eds.)
          <source>JIST. Lecture Notes in Computer Science</source>
          , vol.
          <volume>7774</volume>
          , pp.
          <fpage>159</fpage>
          -
          <lpage>174</lpage>
          . Springer (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Tummarello</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Delbru</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Oren</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          :
          <article-title>Sindice.com: Weaving the open linked data</article-title>
          .
          <source>In: In Proceedings of the International Semantic Web Conference (ISWC</source>
          (
          <year>2007</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Turney</surname>
            ,
            <given-names>P.D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pantel</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          :
          <article-title>From frequency to meaning: Vector space models of semantics</article-title>
          .
          <source>Journal of artificial intelligence research 37</source>
          ,
          <volume>141</volume>
          (
          <year>2010</year>
          ), doi:10.1613/jair.2934
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <surname>Unger</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          , Bu¨ hmann, L.,
          <string-name>
            <surname>Lehmann</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ngomo</surname>
            ,
            <given-names>A.C.N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gerber</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cimiano</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          :
          <article-title>Templatebased question answering over rdf data</article-title>
          .
          <source>In: WWW</source>
          . pp.
          <fpage>639</fpage>
          -
          <lpage>648</lpage>
          (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <string-name>
            <surname>Unger</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cimiano</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          : Pythia:
          <article-title>Compositional Meaning Construction for Ontology-Based Question Answering on the Semantic Web</article-title>
          . In: MuA˜ oz, R.,
          <string-name>
            <surname>Montoyo</surname>
            ,
            <given-names>A.A.</given-names>
          </string-name>
          , MA˜ c tais, E. (eds.)
          <source>Natural Language Processing and Information Systems, Lecture Notes in Computer Science</source>
          , vol.
          <volume>6716</volume>
          , pp.
          <fpage>153</fpage>
          -
          <lpage>160</lpage>
          . Springer Berlin / Heidelberg (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>