
IMPROVE-QA: An Interactive Mechanism for RDF
estion/Answering Systems
Xinbo Zhang
Peking University
Beijing, China
zhangxinbo@pku.edu.cn
Lei Zou
Peking University
Beijing, China
zoulei@pku.edu.cn
ABSTRACT
RDF Question/Answering(Q/A) systems can interpret user’s ques-
tion
N
as SPARQL query
Q
and return answer set
Q(D)
over RDF
repository
D
to the user. However, due to the complexity of linking
natural phrases with specic RDF items (e.g., entities and predi-
cates), it remains dicult to understand users’ questions precisely,
hence
Q(D)
may not meet users’ expectation, oering wrong an-
swers and dismissing some correct answers. In this demo, we design
an
I
nteractive
M
echanism aiming for
PRO
motion
V
ia f
e
edback to
Q
/
A
systems
(IMPROVE-QA)
, a whole platform to make existing
Q/A systems return more precise answers (denoted as
Q
′
(D)
) to
users. Based on user’s feedback over
Q(D)
, IMPROVE-QA auto-
matically renes the original query
Q
into a new query graph
Q
′
with minimum modications, where
Q
′
(D)
provides more precise
answers. We will also demonstrate how IMPROVE-QA can apply
the “lesson” learned from the user in each query to improve the
precision of Q/A systems on subsequent natural language questions.
ACM Reference Format:
Xinbo Zhang and Lei Zou. 2018. IMPROVE-QA: An Interactive Mechanism
for RDF Question/Answering Systems. In SIGMOD’18: 2018 International
Conference on Management of Data, June 10–15, 2018, Houston, TX, USA.
ACM, New York, NY, USA, 4 pages. https://doi.org/10.1145/3183713.3193555
1 INTRODUCTION
As a de facto standard of a knowledge graph, RDF (Resource De-
scription Framework) repository is a collection of triples, denoted
as
⟨
subject,predicate,object
⟩
. SPARQL is a standard way to access
RDF data, but it remains dicult for common users due to the com-
plexity of SPARQL syntax. As more and more knowledge graphs
become available, such as YAGO, DBpedia, Freebase, it becomes
crucial to enable users to access knowledge graphs easily without
mastering SPARQL. Natural language question/answering systems
over RDF (
RDF Q/A
for short) provide such an accessible way and
have attracted wide attentions in both academia and industry.
Given a natural language question
N
, an RDF Q/A system trans-
lates
N
into a SPARQL query
Q
, evaluates query
Q
over the knowl-
edge graph
D
and returns answers
Q(D)
to users. However, due to
Permission to make digital or hard copies of all or part of this work for personal or
classroom use is granted without fee provided that copies are not made or distributed
for prot or commercial advantage and that copies bear this notice and the full citation
on the rst page. Copyrights for components of this work owned by others than ACM
must be honored. Abstracting with credit is permitted. To copy otherwise, or republish,
to post on servers or to redistribute to lists, requires prior specic permission and/or a
fee. Request permissions from permissions@acm.org.
SIGMOD’18, June 10–15, 2018, Houston, TX, USA
© 2018 Association for Computing Machinery.
ACM ISBN 978-1-4503-4703-7/18/06.. . $15.00
https://doi.org/10.1145/3183713.3193555
the complexity and ambiguity of natural language questions, a fun-
damental challenge is how to understand users’ questions precisely,
i.e., interpreting users’ question
N
as a proper SPARQL query
Q
.
In existing RDF Q/A systems, when the returned answers
Q(D)
do
not meet users’ expectation, nothing could be done for users but
leaving the system with confusion. We call it passive acceptance.
In this demo, we design an
I
nteractive
M
echanism aiming for
PRO
motion
V
ia f
e
edback to
Q
/
A
systems
(IMPROVE-QA)
, a
whole platform to make existing Q/A systems return more pre-
cise answers (denoted as
Q
′
(D)
) to the user. Specically, when
the user does not satisfy the returned answers
Q(D)
, he can give
feedback about
Q(D)
, including crossing out some wrong answers
(
Q
−
(D)
), adding missing correct ones (
Q
∆
(D)
) and marking some
existing correct answers (
Q
+
(D)
). Note that our system does
not
require users to provide the full list of errors/omissions or mark
all correct answers. IMPROVE-QA learns from users’ feedback and
generates a more precise SPARQL query
Q
′
as a new translation
for N and nally returns more precise answers Q
′
(D) to users.
Although IMPROVE-QA is similar to QBE (query by example)
[
4
] for database queries, the major dierence is that sample answers
are only inputs for QBE problems, while IMPROVE-QA considers
not only the seed answers (including positive and negative ones)
given by users but also the original translated SPARQL query
Q
.
This is because that existing Q/A systems have made great progress
to generate
Q
. It’s hard to promote the quality of
Q
directly, while
many translation errors from question
N
to SPARQL
Q
are reected
on some parts of query graph
Q
, such as entity/class linking (node
error), relation paraphrasing (edge error) and sentence structure
error (template error). Thus, based on users’ feedback, our goal is
to nd “minimum edit” from original query
Q
to a new SPARQL
Q
′
, where
Q
′
(D)
provides more precise answers. We provide an
interactive mechanism aiming for promotion to RDF Q/A systems,
allowing for users’ feedback to obtain better answers. Furthermore,
the “lesson” learned from users in each query can be used to improve
RDF Q/A systems on subsequent natural language questions.
Example 1. Consider a question
N “Which actresses were born
in European countries?”
issued by a big fan of Elizabeth Taylor.
Figure 1 shows the answer set
Q(D)
which includes six answers re-
turned by an RDF Q/A system over a knowledge graph
D
. “Elizabeth
Taylor” is unexpectedly excluded from the answers. The big fan def-
initely knows Elizabeth Taylor was born in London in 1932. To her
more surprise and bewilderment, “Marilyn Monroe” is shown in the
answer list. As we know, Marilyn Monroe is an American-born actress
(born in Los Angeles in 1926). What happens to the RDF Q/A system?
The big fan gives her feedback over answer set
Q(D)
. As shown
in Figure 1, she adds one missing correct answer
Q
∆
(D)
(Elizabeth
Taylor), crosses out one wrong answer
Q
−
(D)
(Marilyn Monroe) and
SIGMOD’18, June 10-15, 2018, Houston, TX, USA
评论