<!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>Conversational Question Answering Using a Shift of Context</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Nadine Steinmetz</string-name>
          <email>nadine.steinmetz@tu-ilmenau.de</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Bhavya Senthil-Kumar∗</string-name>
          <email>bhavya.tharayil@gmail.com</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Kai-Uwe Sattler</string-name>
          <email>kus@tu-ilmenau.de</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>TU Ilmenau</institution>
          ,
          <country country="DE">Germany</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Recent developments in conversational AI and Speech recognition have seen an explosion of conversational systems such as Google Assistant and Amazon Alexa which can perform a wide range of tasks such as providing weather information, making appointments etc. and can be accessed from smart phones or smart speakers. Chatbots are also widely used in industry for answering employee FAQs or for providing call center support. Question Answering over Linked Data (QALD) is a field that has been intensively researched in the recent years and QA systems have been successful in implementing a natural language interface to DBpedia. However, these systems expect users to phrase their questions completely in a single shot. Humans on the other hand tend to converse by asking a series of interconnected questions or follow-up questions in order to gather information about a topic. With this paper, we present a conversational speech interface for QA, where users can pose questions in both text and speech to query DBpedia entities and converse in form of a natural dialog by asking follow-up questions. We also contribute a benchmark for contextual question answering over Linked Data consisting of 50 conversations with 115 questions.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>INTRODUCTION</title>
      <p>With the increasing development of speech interfaces and
chatbots, conversations with a machine becomes more and more
common to us. In this way, we are able to ask for everyday life
questions or communicate with a customer service without
talking to a real person. But, most of these interfaces are either trained
for a very specific domain or limited regarding the type of
questions. Question Answering (QA) systems based on knowledge
graphs aim to answer questions from the complete knowledge
represented by the graph. Of course, these systems might be
specific regarding domains, but as they are tuned to graph
patterns, they also work on all-purpose knowledge bases, such as
DBpedia or Wikidata. Over the last 10 years, the QALD challenge
(Question Answering on Linked Data) provided several datasets
for the purpose of the evaluation of QA systems. Participating
systems showed the ability to understand natural language and
transform it to a formal query language, specifically SPARQL, in
order to provide the answer to the user. These systems require
complete sentences respectively questions to be able to process
it further. In contrast to that, conversations often start with a
complete sentence/question and further questions are built upon
the context of the preceding questions and answers. Follow-up
questions might only consist of a fragment of a sentence and must
be completed in mind. Which means, the conversation partner
∗work was done during master studies at the institute
requires context information. For humans, this also works when
the context is slightly changing to a diferent topic but having
minor touch points to the previous course of conversation. With
this paper, we present an approach that is able to handle slight
shifts of context. Instead of maintaining within a certain node
distance within the knowledge graph, we analyze each follow-up
question for context shifts.</p>
      <p>The remainder of the paper is organized as follows. In Sect. 2
we discuss related approaches from QA and conversational QA.
The processing of questions and the resolving of context is
described in Sect. 3. We have implemented this approach in a
prototype which is evaluated using a newly created benchmark. The
results of this evaluation presented in Sect. 4 demonstrate that
our approach is capable of holding up several types of
conversations. Finally, we conclude the results in Sect. 5 and point out to
future work.
2</p>
    </sec>
    <sec id="sec-2">
      <title>RELATED WORK</title>
      <p>Our proposed system is able to handle speech as incoming
questions as well as textual input. But, the focus of our proposed
approach is the correct interpretation of conversations within
a context. Therefore, we limit the related work discussion to
research approaches on conversational QA.</p>
      <p>
        Dhingra et al. proposed KB-InfoBot, a fully neural end-to-end
multi-turn dialogue agent for the movie-on-demand task [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. The
agent is trained entirely from user feedback. It consists of a belief
tracker module which identifies user intents, extracts associated
attributes and tracks the dialogue state in a Soft-KB Lookup
component which acts as an interface with the movie database to
query for relevant results. Subsequently, the state is summarized
into a vector and a dialogue policy selects the next action based
on the current dialogue state. The policy is entirely trained on
dialogues. The authors proposed a probabilistic framework for
computing the posterior distribution of the user target over a
knowledge base, termed a Soft-KB lookup. This distribution is
constructed from the agent’s belief about the attributes of the
entity being searched for. The dialogue policy network, which
decides the next system action, receives as input this full
distribution instead of a handful of retrieved results. They show in their
experiments that this framework allows the agent to achieve a
higher task success rate in fewer dialogue turns.
      </p>
      <p>
        Microsoft XiaoIce (“Little Ice” in Chinese) is a social chatbot
primarily designed to be an AI companion with which users
can form long-term emotional connections [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]. This ability to
establish long-term emotional connections with it’s human users
distinguishes XiaoIce from other social chatbots as well as
popular conversational AI personal assistants such as Amazon Alexa,
Apple Siri, Microsoft Cortana and Google Assistant. XiaoIce has
attracted over 660 million active users since it’s launch in May
2014 and has developed more than 230 skills ranging from
question answering, recommending movies or restaurants to
storytelling and comforting. The most sophisticated skill is Core Chat,
where it engages in long and open-domain conversations with
users.
      </p>
      <p>In addition to having a suficiently high IQ required to acquire
a range of skills to complete specific tasks, social chatbots also
require a high EQ to meet user’s emotional needs such as afection
and social belonging. The core of XiaoIce’s system design is
this integration of IQ (content-centric) and EQ(user-centric) to
generate contextual and interpersonal responses to form
longterm connections with users.</p>
      <p>
        Just recently, Vakulenko et al. presented an approach to rewrite
follow-up questions in conversations in order to be able to find
the correct answer [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]. Their proposed model employs a
unidirectional Transformer decoder. The model predicts output tokens
according to an input sequence, references to a context and the
context itself. The training is performed via a teacher forcing
approach. After the rewriting the input question, the question
answering process consists of the retrieval of relevant text
passage, the extraction of potential answers to the input question
and the ranking of the answers. The authors evaluated their
approach on two diferent datasets (QuAC 1 and TREC CAsT2). In
contrast to this approach, we are dealing with Semantic
Question Answering and our procedure to identify the context of a
conversational question is based on the underlying knowledge
graph – specifically DBpedia.
      </p>
      <p>
        Reddy et al. introduced CoQA, a dataset for Conversational
Question Answering systems consisting of a total of 127,000
questions along with their answers from conversations about
text passages covering seven unique domains [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. The questions
are sourced using Amazon Mechanical Turk (AMT) by pairing
two annotators, a questioner and an answerer, on a passage
through the ParlAI MTurk API [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. Every turn in the conversation
contains a question and an answer along with its rationale. It
can be observed that around 30.5 percent of questions of the
CoQA dataset does not rely on coreference with the conversation
history and can be answered on their own. Almost half of the
questions (49.7 percent) contains explicit coreference markers
such as he, she, it etc. They either refer to an entity or an event
introduced previously in the conversation. The remaining 19.8
percent does not contain any explicit coreference markers but
rather refer to an entity or event implicitly.
      </p>
      <p>
        All approaches and datasets described above are based on
unstructured textual sources. In contrast, our approach is based on
a knowledge graph and takes into account the semantic
information of the question. Christmann et al. proposed an approach for
a conversational question answering system based on knowledge
graphs [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. Their system, CONVEX, examines the context of an
input question within the knowledge graph to be able to answer
follow-up questions. Based on the edges and nodes around the
focus of the first question, the conversation is disambiguated.
The authors claim, that topic changes are rare and therefore only
investigate the direct context of the focus entity of the rfist
question. The evaluation benchmark has been sourced by Amazon
Mechanical turks and consists of around 11,200 conversations
based on the Wikidata knowledge graph. In contrast to CONVEX,
our system is able to handle topic changes – for instance, when
the focus entity changes, but the predicate stays the same.
1https://quac.ai/
2http://www.treccast.ai/
      </p>
    </sec>
    <sec id="sec-3">
      <title>METHOD &amp; IMPLEMENTATION</title>
      <p>We introduce our system architecture as well as the processing
steps during a conversation in detail in the next sections.
3.1</p>
    </sec>
    <sec id="sec-4">
      <title>System Architecture</title>
      <p>• greeting intent,
• factual intent - for first questions in conversations,
• follow-up intent - to continue a conversation,
• a fall back intent - if something is wrong with the question
or it cannot be answered.</p>
      <p>For the training of the intent classification, we used a set of
different sample questions. We identify follow-up queries based on
certain contextual cues such as the presence of explicit
coreferences like “he”, “she”, “his”, “her”, “it’s” etc. or the presence
of phrases like “What about”, “how about” etc. For each intent
we can either respond with a static response as in the case of a
greeting or define an action to be triggered. When a user writes
or says something, Dialogflow categorizes and matches the
intention to a predefined intent which is known as intent classification.
For example a query such as “What is the capital of Cameroon?”
would be matched to the factual query intent and a follow-up
query such as “What about China?” or “What is its population?”
would trigger the follow-up query intent.</p>
      <p>
        3.2.2 Webhook Service and fulfillment. Once the intent of the
user is identified and necessary parameters are extracted, the
Dialogflow agent sends a webhook request with the transcribed
raw text, the intent and parameters to the webhook service.
Depending on the intent the appropriate function is triggered to
handle the query. The end user writes or speaks in the query
“What is the capital of Czech Republic?”. Based on the identified
intent, diferent actions are triggered:
3HYDRA is a QA system that transforms natural language to SPARQL queries for
DBpedia based knowledge graphs, cf. [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]
4http://dbpedia.org/sparql
• A factual question intent triggers a direct API call for our
      </p>
      <p>QA API HYDRA.
• In case of a follow-up intent, the question is further
analyzed to retrieve the answer.</p>
      <p>In the first case, the Dialogflow agent matches the end-user
expression to the factual question intent. This triggers the
direct call of the HYDRA REST interface with the query text. The
HYDRA system generates the SPARQL using a template based
approach (citation removed for anonymization). The HYDRA
service provides the answer and the respective SPARQL query. The
answer is transferred to Dialogflow and provided to the user.
The SPARQL query is parsed to extract the subject and
predicates and the information is stored in the output context of the
payload. For every conversation turn, we store the subject and
predicate values to the context memory in order to resolve them
in subsequent follow-up queries.</p>
      <p>For the case of a follow-up intent, the question is analyzed
according to the context of the preceding conversation. The actual
analysis and the processing steps are described in the following
sections.</p>
      <p>3.2.3 Context Detection in Follow-Up Questions. For the
handling of a follow-up question, several steps are required. We
identify named entities and detect the type of context shift. For
our approach, a shift of context can occur in two diferent ways:
• Either the focus (named entity (NE)) of the previous
question changes,
• or the follow-up question asks for a diferent
relationship/predicate.</p>
      <p>Consider the factual question What is the oficial language in
Germany?. Here, the following types of questions are conceivable:
• Either the follow-up question asks for the oficial language
of a diferent country,
• or the conversation continues with a question regarding a
diferent fact about Germany.</p>
      <p>Any other question would be considered to be a new factual
question and the start of a new conversation. Therefore, we
identify the shift of context and continue to generate the new
SPARQL based on the context that maintains compared to the
previous question.</p>
      <p>Thus, our approach for context detection in follow-up
questions consists of three sub-steps:
• named entity linking (NEL),
• predicate identification (PI), and
• context resolution (CR).</p>
      <p>These three sub-steps are described in detail in the next
paragraphs.</p>
      <p>Named Entity Linking. Following the sample question above,
a follow-up question could be "What about China?". Therefore,
we have to identify the new NE in the follow-up question. For
this, we utilize the DBpedia Spotlight web service5 to annotate
mentions of named entities in natural language. As the
disambiguation of ambiguous mentions would require more contextual
information, the service most probably returns the NE with the
highest popularity.</p>
      <p>
        Predicate Identification. In case, the follow-up question asks
for a diferent fact about the same named entity, we need to
identify the new predicate. For the mapping of natural language
phrases to their corresponding DBpedia properties, the PATTY
[
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] dataset is used. The dataset contains the original labels and
several alternative phrases for each DBpedia ontology property.
For the identification of property phrases in the follow-up
question, we use the Dialogflow entity service 6. The service allows to
create custom (so-called) entities to train the identification within
natural language. Here, we create a custom entity using the
DBpedia properties and the phrases from the PATTY dataset. The
Dialogflow agent is trained on this custom entity and we can use
this custom entity to recognize the phrases in the user utterance
and map them to their corresponding DBpedia properties. For
example the phrases “Who was he married to”, “Who is his spouse”
etc. are both mapped to the DBpedia property dbo:spouse and
stored as a parameter in the webhook request payload and can
then be accessed in the webhook service handler.
      </p>
      <p>Resolving context. When resolving the context of a follow-up
question, the essential task is to identify the shift of context. This
means, we need to analyze if the focus entity or the property
changed. Consider the example query as shown in Figure 2. Here,
the subject is “Germany” and “oficial language” refers to the
property. Now consider the follow-up query “What about China?”
is being asked. After the NEL and PI processing steps, the named
entity for the phrase “China” is identified so we know that this
is the new focus the user is referring to, but no properties are
identified. Therefore, we need to resolve this from the predicate
mentioned in the previous turn in the conversation. We fetch the
property dbo:language from the dialog memory and reformulate
5https://www.dbpedia-spotlight.org/api
6https://cloud.google.com/dialogflow/es/docs/entities-custom
the same query by replacing the subject with the new subject
dbr:China7. Now consider the case if the follow-up question
would have been "What about its national anthem?". Here, the
new property for the phrase “national anthem” is identified, but
it is required to keep the focus entity of the previous question.
We reformulate the query with the new property dbo:anthem
and subject dbr:Germany.</p>
      <p>In this manner, at each turn of the conversation we need to
identify the presence of new entities or properties and resolve the
missing part from the dialog memory. However, the follow-up
question could also refer to the answer of the previous question
instead of the focus entity. In order to resolve the coreferences
correctly, we rely on some rules based on the question type of
the first question and the type of follow-up question as follows:
• WHO : If the first question is of type WHO, we know that
the expected answer type is a Person. Therefore if we have
a WHO question followed by a coreference "he/she" as in
When was she born , we resolve the subject to the answer
of the first question. If the same question is followed by a
coreference "it" such as "What is its capital?", we resolve
the coreference to the first subject "Germany".
• WHAT / WHICH : If the first question is of type WHAT
or WHICH, the expected answer can be a city, currency,
number etc. For example, "What is the capital of Czech
Republic?". Now if this is followed by a question such
as "what about its currency?" the coreference "it" is
resolved to the subject of the first question which is "Czech
Republic".
• WHEN : For the question type When, the expected
answer is a date or a location, for example "When was Princess
Diana born?" or "Where was Bach born?”. So, in the case
of a follow-up question with a coreference "she" as in "And
when did she die?" shall always be resolved to the subject
identified in the first question "Princess Diana".
• WHERE : Here the expected answer is a location, for
example "Where was Bach born?" and similar to the case
of WHEN questions coreferences in subsequent follow-up
questions are always resolved to the subject of the first
question, here in this example "Bach".
• HOW : The expected answer type of the question type
How is a number. Hence, the coreferences in the follow-up
queries are resolved to the subject in the first question. For
example the question "How many languages are spoken
7dbr refers to http://dbpedia.org/resource/
in Turkmenistan?" followed by the coreference "it" in the
follow up question "What is it’s oficial language?" will be
resolved to "Turkmenistan".</p>
      <p>These rules are based on our inferences from the questions in
our evaluation benchmark consisting of 50 sets of conversations
each of which referring to a question in the QALD 9 evaluation
dataset (cf. Section 4.1).</p>
      <p>Asking for Clarifications. There are some cases where the
follow-up question may be referring to the answer to the first
question rather than the subject in the first question. For
example consider the question “Who is the spouse of Barack Obama?”
followed by the follow-up question “And at which school did she
study?”. In this case, the focus of the first question as well as the
answer are of the same type. We need to resolve the ambiguity
by asking the user for clarification. For our first prototype, we
have implemented this for the entities of type dbo:Person. That
means, whenever the focus of the question as well as the answer
to the question both refer to named entities of type dbo:Person,
we resolve it by asking the user which entity they actually meant.
We have implemented this using a suggestions list where users
are presented a list of options containing the two entities
mentioned and users can confirm by selecting the appropriate entity. 8
Figure 4 shows the conversation which tries to answer the QALD
question “What is the name of the school where Obama’s wife
studied?”. The focus of the first query is "Barack Obama" and
the system returns the spouse of Barack Obama i. e, “Michelle
Obama” as the answer. Both entities are saved in the dialog
memory for future reference. When the user asks the follow-up query
"Which school did she/he study?" the system asks the user for
clarification in order to resolve the ambiguity between the two
entities9. The user is now presented with two options as a
suggestion list and the user confirms by clicking on one of them.
Finally, the response for the selected query is presented to the
user.</p>
      <p>3.2.4 Query execution and Response. Once all entities are
resolved, the SPARQL query is formulated by replacing the subject
and property in the general SPARQL template. Then the SPARQL
query is sent to the SPARQL endpoint for execution. The results
from the SPARQL endpoint are usually either a text value such
8Cf. the demo video for a clarification case:
https://zenodo.org/record/4091782/files/Barack_Obama.mov
9The system cannot resolve the gender-based co-reference of the relevant named
entities yet. But, DBpedia provides the property foaf:gender which could be used
to identify the gender of all entities involved.
as a number or a DBpedia resource URI. We then formulate the
response as a complete sentence. For this, we use a template
of the format “The property of subject is result”. This text
response is converted to speech using Google Text To Speech
(TTS) and presented as spoken output to the user. If the result of
the SPARQL query returns a DBpedia resource then we execute
an additional SPARQL query to obtain the thumbnail associated
with that resource if any10.</p>
      <p>Figure 5 shows an example conversation which answers the
question "Who was the doctoral supervisor of Albert Einstein?"
from the QALD 7 train dataset in a series of follow-up questions
and Figure 6 shows another sample conversation that answers
the question "What is the currency of Czech Republic" in a series
of follow-up questions.
10We prepared video demos for some sample conversations:
https://doi.org/10.5281/zenodo.4091782
4</p>
    </sec>
    <sec id="sec-5">
      <title>EXPERIMENTS</title>
      <p>In this section, we describe some experiments to evaluate our
system and discuss the results. Section 4.1 introduces our
evaluation benchmark. Sections 4.2.1 and 4.2.2 shows the evaluation
results of our system against the benchmark. In Section 4.2.3, we
take a detailed look at the separate processing steps and their
failure rates. Section 4.2.4 describes the results based on diferent
question types and discusses the reasons of failures in each step.
We discuss the results of our experiments in Section 4.3.
4.1</p>
    </sec>
    <sec id="sec-6">
      <title>Evaluation Benchmark</title>
      <p>
        To the best of our knowledge, benchmarks for conversational QA
anchored in DBpedia are not existent11. Therefore, we introduce a
benchmark of 50 conversations inspired from the QALD datasets.
Each conversation consists of a direct question followed by one
or two follow-up questions. Overall, the dataset consists of a total
11Christmann et al. [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] and Saha et al. [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] just recently published their own
benchmarks for conversational QA on knowledge graphs, but they are both based on
Wikidata.
of 115 individual questions12. Each conversation corresponds to
a question from the QALD-9 dataset.
12The dataset is available at https://doi.org/10.5281/zenodo.4091791
      </p>
    </sec>
    <sec id="sec-7">
      <title>4.2 Evaluation Results</title>
      <p>Our proposed system performs completely automatically for
given questions. Of course, in case of ambiguous follow-up
questions a human interaction is required and requested. But the
analysis of the questions and the shift of context is performed
completely self-suficient. Hence, the evaluation is executed in
this manner. Section 4.2.1 and Section 4.2.2 describe our system’s
results based on the precision and recall overall and in detail
for follow-up questions. In Section 4.2.3 the separate processing
steps of our system are evaluated. In addition, the reasons for a
failure in each step are discussed. In Section 4.2.4, we evaluate
the system based on the diferent types of follow-up questions
and discuss the reasons for failures.</p>
      <p>4.2.1 Overall Precision and Recall. We evaluated the overall
quality of our system using the measures precision and recall.
Recall is defined as the ratio of the number of correct answers
provided by the system to the number of gold standard answers
with respect to a single question . In other words, recall is the
ratio of intersection of relevant and retrieved answers to the
relevant answers. And precision is defined as the ratio of the
number of correct answers provided by the system to the number
of all answers provided by the system. Precision can also be
defined as the ratio of the intersection of relevant and retrieved
answers to the retrieved answers.</p>
      <p>For the dataset mentioned above, 36 out of 50 conversations
were answered completely by our system. i. e. it answered the
direct question as well as all follow-up questions correctly. We
did not encounter partially correct answers. That means either
the system fails to answer a question or the answer returned
was 100% accurate. Therefore, recall and precision are the same
(= 0.72) for the complete dataset.</p>
      <p>4.2.2 Direct and Follow-up queries. We also evaluated the
direct and follow-up queries separately and the results are shown
in Table 1. The evaluation benchmark consists of 50 direct
questions out of which 42 were answered correctly and 49 out of the
65 follow-up queries were answered correctly. As a result the
micro-precision of direct queries is 0.84 and that of follow-up
queries is 0.75. The overall precision considering 91 out of the
total 115 questions answered is 0.79.</p>
      <p>4.2.3 Evaluation based on Processing steps. In this section, we
present the evaluation results based on the individual processing
steps involved and discuss the reasons of failure. Table 2 shows
the percentage of failure for each of the processing steps. As
discussed in the previous section, the system was able to answer
80% of the questions in overall and the failure rate is 20 %.</p>
      <p>Response from HYDRA. The highest percentage of failure is
due to an incorrect response to the direct query from HYDRA
as the failure of a direct query results in the failure of all of the
subsequent follow-up queries. For some answers the HYDRA API
took too long to respond or was not able to provide an answer.</p>
      <p>Mapping of Predicates. We use PATTY predicates and their
synonyms mapped to a custom Dialogflow Entity for identifying
predicates. In some cases the system fails to map the correct
predicate which results in failure. Consider the example “When
was Bach born?” from the conversation id:5 followed by the query
“And where?”. The system fails to map "where" to "birthPlace"
as this is open-ended and could also refer to a location as in
“deathPlace”. As a result the follow-up query cannot be resolved.</p>
      <p>Resolving context. The step involving resolution of co-references
or context in follow-up queries is a very crucial step in answering
follow-up queries and has a percentage of failure of 4.35. We rely
on certain patterns or rules to resolve the context and sometimes
the system does not have enough knowledge to resolve them
correctly. Consider the example question “What is the capital of
French Polynesia?”. The follow-up question is “And who is its
mayor?” Now, during context resolution it fails to map the
coreference “its” to the correct reference (the response of the question)
as it does not have the background knowledge that only entities
of type city are associated with the predicate “mayor”. Hence, it
fails to correctly resolve the co-reference in the follow-up query.</p>
      <p>Named Entity Recognition. NE mentions in the follow-up queries
are annotated using the DBpedia Spotlight API which was
successful in resolving most of the entities in our benchmark.
However, it fails to resolve certain entities resulting in a failure rate of
1.74. For example, in the follow-up question "And Harry Potter"
the entity is resolved to the television show with the same name
and not the character Harry Potter which results in an incorrect
response.</p>
      <p>Speech Recognition. The Google Speech to Text (STT) API was
able to correctly transcribe most of the queries correctly and
had a very low failure rate of 1.74. However, it fails to transcribe
few entities such as the entity "Kurosawa" and "MI6" correctly
which could also vary depending upon the accent or the way
diferent users pronounce certain words. It however performed
well overall during the evaluation and was able to transcribe
most of the input accurately.</p>
      <p>4.2.4 Evaluation based on Question Types. In this section we
evaluate the system based on the diferent types of follow-up
questions. The system was able to correctly answer 75 % of the
follow-up queries and has an overall failure rate of 24. 61 %. Table
2 shows the percentage of failure for each of the question types.
4.3</p>
    </sec>
    <sec id="sec-8">
      <title>Discussion</title>
      <p>The quality of Conversational QA systems depends on the
success of previous questions along the course of the conversation
and especially of the first question. As shown in Table 2, the
success of a conversation fails when the response of the initial
QA API is incorrect. Therefore, QA in general is required to be
the objective of our further research. Secondly, we identified the
issue of predicate mapping when the question mentions a
relationship that cannot be mapped to a predicate in the knowledge
graph. The lack of alternative labels for parts of the ontology is
common for most knowledge graphs – properties and ontology
classes often have one label whereas the entities mostly have
a main label and alternative label. Therefore, further research
regarding ontology enrichment is required to provide more
information about the ontology properties and classes. Unfortunately,
a direct comparison of results to other approaches is not feasible,
because of the lack of a common DBpedia-based benchmark and
published results respectively.</p>
    </sec>
    <sec id="sec-9">
      <title>5 SUMMARY &amp; FUTURE WORK</title>
      <p>In this paper, we present our approach to conversational QA
using a shift of context. We developed a first prototype that
identifies the type of context shift. Thus, a conversation consisting
of several request about specific topics / named entities can be
conducted. But, in contrast to other recent approaches, our
application is also able to handle slight changes of context and
the follow-up question are not required to ask for facts in direct
proximity of the primary sub-graph within the knowledge graph.
Likewise, smart speech interfaces, such as Alexa or Siri, are able
to do a conversation in a very limited way, for instance when
asked for the weather of diferent cities in a sequence. Whereas
our approach is able to handle conversations about a wide range
of domains and with slight changes of topics. In addition, we
propose a novel dataset for evaluation purposes of conversational
QA based on DBpedia. The dataset consists of 50 conversations
and 115 questions and it is publicly available. As discussed in
the evaluation section, the improvement of basic QA system is
essential for the quality of a conversation. Here, we pursue the
further development of our pattern-based approach to map
similar natural language patterns to similar graph patterns. Future
work will also include the further utilization of DBpedia context
information to construct the application in a more intelligent
manner: for the identification of the gender of named entities, or
the mapping of natural language phrases to DBpedia properties.
6</p>
    </sec>
    <sec id="sec-10">
      <title>ACKNOWLEDGEMENTS</title>
      <p>This work was partially funded by the German Research
Foundation (DFG) under grant no. SA782/26.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>Philipp</given-names>
            <surname>Christmann</surname>
          </string-name>
          , Rishiraj Saha Roy, Abdalghani Abujabal,
          <string-name>
            <given-names>Jyotsna</given-names>
            <surname>Singh</surname>
          </string-name>
          ,
          <string-name>
            <given-names>and Gerhard</given-names>
            <surname>Weikum</surname>
          </string-name>
          .
          <year>2019</year>
          .
          <article-title>Look Before You Hop&amp;#58; Conversational Question Answering over Knowledge Graphs Using Judicious Context Expansion</article-title>
          .
          <source>In Proceedings of the 28th ACM International Conference on Information and Knowledge Management (CIKM '19)</source>
          . ACM, New York, NY, USA,
          <fpage>729</fpage>
          -
          <lpage>738</lpage>
          . https://doi.org/10.1145/3357384.3358016
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>Bhuwan</given-names>
            <surname>Dhingra</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Lihong</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Xiujun</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Jianfeng</given-names>
            <surname>Gao</surname>
          </string-name>
          ,
          <string-name>
            <surname>Yun-Nung</surname>
            <given-names>Chen</given-names>
          </string-name>
          , Faisal Ahmed,
          <string-name>
            <given-names>and Li</given-names>
            <surname>Deng</surname>
          </string-name>
          .
          <year>2017</year>
          .
          <article-title>End-to-End Reinforcement Learning of Dialogue Agents for Information Access</article-title>
          .
          <source>In ACL.</source>
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>Max</given-names>
            <surname>Planck Institute for Informatics</surname>
          </string-name>
          .
          <year>2014</year>
          .
          <article-title>A large resource of relational patterns</article-title>
          . https://www.mpi-inf.mpg.de/departments/ databases-and
          <string-name>
            <surname>-</surname>
          </string-name>
          information-systems/research/yago-naga/patty/.
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>Alexander</given-names>
            <surname>Miller</surname>
          </string-name>
          , Will Feng, Dhruv Batra, Antoine Bordes, Adam Fisch, Jiasen Lu, Devi Parikh, and
          <string-name>
            <given-names>Jason</given-names>
            <surname>Weston</surname>
          </string-name>
          .
          <year>2017</year>
          .
          <article-title>ParlAI: A Dialog Research Software Platform</article-title>
          .
          <source>In Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing: System Demonstrations. Association for Computational Linguistics</source>
          , Copenhagen, Denmark,
          <fpage>79</fpage>
          -
          <lpage>84</lpage>
          . https://doi.org/10.18653/v1/
          <fpage>D17</fpage>
          -2014
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>Siva</given-names>
            <surname>Reddy</surname>
          </string-name>
          , Danqi Chen, and
          <string-name>
            <given-names>Christopher D.</given-names>
            <surname>Manning</surname>
          </string-name>
          .
          <year>2019</year>
          .
          <article-title>CoQA: A Conversational Question Answering Challenge</article-title>
          .
          <source>Transactions of the Association for Computational Linguistics 7 (March</source>
          <year>2019</year>
          ),
          <fpage>249</fpage>
          -
          <lpage>266</lpage>
          . https://www.aclweb.org/ anthology/Q19-1016
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>Amrita</given-names>
            <surname>Saha</surname>
          </string-name>
          , Vardaan Pahuja,
          <string-name>
            <surname>Mitesh M. Khapra</surname>
            , Karthik Sankaranarayanan, and
            <given-names>Sarath</given-names>
          </string-name>
          <string-name>
            <surname>Chandar</surname>
          </string-name>
          .
          <year>2018</year>
          .
          <article-title>Complex Sequential Question Answering: Towards Learning to Converse Over Linked Question Answer Pairs with a Knowledge Graph</article-title>
          . CoRR abs/
          <year>1801</year>
          .10314 (
          <year>2018</year>
          ). arXiv:
          <year>1801</year>
          .10314 http://arxiv.org/abs/
          <year>1801</year>
          .10314
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <surname>Nadine</surname>
            <given-names>Steinmetz</given-names>
          </string-name>
          , Ann-Katrin
          <string-name>
            <surname>Arning</surname>
          </string-name>
          , and
          <string-name>
            <surname>Kai-Uwe Sattler</surname>
          </string-name>
          .
          <year>2019</year>
          .
          <article-title>From Natural Language Questions to SPARQL Queries: A Pattern-based Approach</article-title>
          . In Datenbanksysteme für Business,
          <source>Technologie und Web (BTW</source>
          <year>2019</year>
          ),
          <fpage>18</fpage>
          .
          <article-title>Fachtagung des GI-Fachbereichs „Datenbanken und Informationssysteme" (DBIS), 4</article-title>
          .-
          <fpage>8</fpage>
          .
          <source>März</source>
          <year>2019</year>
          , Rostock, Germany, Proceedings.
          <fpage>289</fpage>
          -
          <lpage>308</lpage>
          . https://doi.org/10.18420/btw2019-
          <fpage>18</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>Svitlana</given-names>
            <surname>Vakulenko</surname>
          </string-name>
          , Shayne Longpre, Zhucheng Tu, and
          <string-name>
            <given-names>Raviteja</given-names>
            <surname>Anantha</surname>
          </string-name>
          .
          <year>2020</year>
          .
          <article-title>Question Rewriting for Conversational Question Answering</article-title>
          . arXiv:cs.IR/
          <year>2004</year>
          .14652
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>Li</given-names>
            <surname>Zhou</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Jianfeng</given-names>
            <surname>Gao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Di</given-names>
            <surname>Li</surname>
          </string-name>
          , and
          <string-name>
            <surname>Heung-Yeung Shum</surname>
          </string-name>
          .
          <year>2018</year>
          .
          <article-title>The Design and Implementation of XiaoIce, an Empathetic Social Chatbot</article-title>
          . arXiv:cs.HC/
          <year>1812</year>
          .08989
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>