[Paper Review] UNIQORN: Unified Question Answering over RDF Knowledge Graphs and Natural Language Text
UNIQORN proposes a unified question answering framework that seamlessly integrates RDF knowledge graphs and natural language text by constructing dynamic context graphs from question-relevant evidence retrieved via fine-tuned BERT models. It uses a Group Steiner Tree algorithm to extract accurate answers from noisy, heterogeneous evidence, significantly outperforming state-of-the-art methods—including LLM-based approaches—in both zero-shot and fine-tuned settings, while providing interpretable, evidence-based provenance.
Question answering over RDF data like knowledge graphs 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, the IR and NLP communities have addressed QA over text, but such systems barely utilize semantic data and knowledge. This paper presents a method for complex questions that can seamlessly operate over a mixture of RDF datasets and text corpora, or individual sources, in a unified framework. Our method, called UNIQORN, builds a context graph on-the-fly, by retrieving question-relevant evidences from the RDF data and/or a text corpus, using fine-tuned BERT models. The resulting graph typically contains all question-relevant evidences but also a lot of noise. UNIQORN copes with this input by a graph algorithm for Group Steiner Trees, that identifies the best answer candidates in the context graph. Experimental results on several benchmarks of complex questions with multiple entities and relations, show that UNIQORN significantly outperforms state-of-the-art methods for heterogeneous QA - in a full training mode, as well as in zero-shot settings. The graph-based methodology provides user-interpretable evidence for the complete answering process.
Motivation & Objective
- To address the gap in complex factual question answering over heterogeneous sources like RDF knowledge graphs and unstructured text.
- To overcome the limitations of existing QA systems that treat structured and unstructured data as separate paradigms with incompatible methods.
- To provide a unified framework that dynamically combines evidence from both sources while ensuring answer provenance and interpretability.
- To reduce reliance on hallucination-prone LLMs by offering a transparent, graph-based reasoning mechanism with verifiable evidence.
Proposed method
- Constructs on-the-fly context graphs by retrieving question-relevant evidence from RDF knowledge graphs and text corpora using fine-tuned BERT models.
- Represents all evidence—whether from triples or text passages—as nodes in a unified graph, with edges capturing semantic or relational connections.
- Applies a Group Steiner Tree algorithm to identify the minimal subgraph that connects all required evidence groups (e.g., entities and relations from the question), filtering noise and focusing on answer-relevant paths.
- Uses a relaxed subject-predicate-object structure to unify heterogeneous evidence, enabling consistent processing across both data types.
- Employs a two-stage pipeline: evidence retrieval via BERT, followed by graph-based reasoning via Group Steiner Trees for answer derivation.
- Ensures interpretability by exposing the final answer derivation path as a visible subgraph (Group Steiner Tree), linking answers to source evidence.
Experimental results
Research questions
- RQ1Can a unified QA framework effectively handle complex questions requiring evidence from both RDF knowledge graphs and natural language text?
- RQ2How does a graph-based reasoning approach compare to verbalization-based unification in preserving critical relationships across heterogeneous evidence?
- RQ3To what extent can a non-generative, graph-based method outperform state-of-the-art LLMs in zero-shot and retrieval-augmented settings for factual QA?
- RQ4Can the use of Group Steiner Trees improve answer accuracy while maintaining interpretability and provenance in heterogeneous QA?
Key findings
- UNIQORN significantly outperforms state-of-the-art methods for heterogeneous question answering across multiple benchmarks, including in zero-shot settings.
- The model achieves superior performance compared to verbalization-based unification approaches, which lose critical inter-evidence relationships necessary for complex reasoning.
- UNIQORN outperforms two leading LLMs in both zero-shot and retrieval-augmented generation (RAG) setups, demonstrating that it remains effective even when LLMs are available.
- The use of Group Steiner Trees enables transparent, user-interpretable evidence paths, making answer derivations traceable and trustworthy.
- The framework successfully handles complex questions involving multiple entities and relations by dynamically constructing and pruning context graphs from mixed sources.
- The method maintains high accuracy even when input evidence contains significant noise, thanks to the robustness of the Group Steiner Tree algorithm in selecting relevant subgraphs.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.