Question answering over knowledge graphs and other RDF data has been greatly advanced, with a number of good systems providing crisp answers for natural language questions or telegraphic queries. Some of these systems incorporate textual sources as additional evidence for the answering process, but cannot compute answers that are present in text alone. Conversely, systems from the IR and NLP communities have addressed QA over text, but such systems barely utilize semantic data and knowledge. This paper presents the first QA system that can seamlessly operate over RDF datasets and text corpora, or both together, in a unified framework. Our method, called UNIQORN, builds a context graph on-the-fly, by retrieving question-relevant triples from the RDF data and/or snippets from the text corpus using a fine-tuned BERT model. The resulting graph is typically rich but highly noisy. UNIQORN copes with this input by advanced graph algorithms for Group Steiner Trees, that identify the best answer candidates in the context graph. Experimental results on several benchmarks of complex questions with multiple entities and relations, show that UNIQORN produces results comparable to the state-of-the-art on KGs, text corpora, and heterogeneous sources. The graph-based methodology provides user-interpretable evidence for the complete answering process.
A running example in this paper is:
Question: director of the western for which Leo won an Oscar? [Answer: Alejandro Iñàrritu]
Context graphs (XG) built by Uniqorn for the question 𝑞 = director of the western for which Leo won an Oscar? Anchors are nodes with (partly) underlined labels; answers are in bold. Orange subgraphs are Group Steiner Trees.
For more information, please contact: Soumajit Pramanik, Jesujoba Alabi, Rishiraj Saha Roy or Gerhard Weikum
If you use our model, please cite this paper
@article{DBLP:journals/corr/abs-2108-08614,
author = {Soumajit Pramanik and
Jesujoba Alabi and
Rishiraj Saha Roy and
Gerhard Weikum},
title = {{UNIQORN:} Unified Question Answering over {RDF} Knowledge Graphs
and Natural Language Text},
journal = {CoRR},
volume = {abs/2108.08614},
year = {2021},
url = {https://arxiv.org/abs/2108.08614},
eprinttype = {arXiv},
eprint = {2108.08614},
timestamp = {Mon, 23 Aug 2021 14:07:13 +0200},
biburl = {https://dblp.org/rec/journals/corr/abs-2108-08614.bib},
bibsource = {dblp computer science bibliography, https://dblp.org}
}