Skip to main content
QUICK REVIEW

[Paper Review] Question Answering over Knowledge Graphs via Structural Query Patterns

Weiguo Zheng, Mei Zhang|arXiv (Cornell University)|Oct 22, 2019
Semantic Web and OntologiesComputer Science22 references7 citations
TL;DR

This paper proposes a novel framework for question answering over knowledge graphs using structural query patterns (SQPs), which guide the construction of query graphs from natural language questions. By generating query sketches and completing them via SQP-guided node and edge labeling, the method achieves state-of-the-art performance on benchmark datasets, outperforming existing semantic parsing and template-based approaches.

ABSTRACT

Natural language question answering over knowledge graphs is an important and interesting task as it enables common users to gain accurate answers in an easy and intuitive manner. However, it remains a challenge to bridge the gap between unstructured questions and structured knowledge graphs. To address the problem, a natural discipline is building a structured query to represent the input question. Searching the structured query over the knowledge graph can produce answers to the question. Distinct from the existing methods that are based on semantic parsing or templates, we propose an effective approach powered by a novel notion, structural query pattern, in this paper. Given an input question, we first generate its query sketch that is compatible with the underlying structure of the knowledge graph. Then, we complete the query graph by labeling the nodes and edges under the guidance of the structural query pattern. Finally, answers can be retrieved by executing the constructed query graph over the knowledge graph. Evaluations on three question answering benchmarks show that our proposed approach outperforms state-of-the-art methods significantly.

Motivation & Objective

  • To address the challenge of bridging unstructured natural language questions with structured knowledge graphs.
  • To overcome limitations of semantic parsing (e.g., high annotation cost, structural mismatch) and template-based methods (e.g., limited coverage, hard-to-scale templates).
  • To design a representation that captures query intent while being easily grounded to knowledge graph structures.
  • To ensure high completeness and low construction cost for scalable question answering systems.

Proposed method

  • Introduce structural query patterns (SQPs) as a new representation that captures the structural intent of a question without requiring full logical form parsing.
  • Generate a query sketch from the input question that aligns with the knowledge graph’s schema and topology.
  • Complete the query graph by labeling nodes and edges using SQP guidance, ensuring structural consistency with the knowledge graph.
  • Apply an ensemble model (RNN-Attention + Text-CNN) to predict the most relevant SQP for a given question.
  • Use constraint augmentation to refine the final query graph and improve answer accuracy.
  • Set the number of returned SQPs (k) to 2 based on empirical evaluation showing stable performance.

Experimental results

Research questions

  • RQ1Can structural query patterns effectively represent the structural intent of natural language questions in a way that is both interpretable and grounded to knowledge graphs?
  • RQ2How does the proposed SQP-based method compare in performance to existing semantic parsing and template-based approaches for knowledge graph question answering?
  • RQ3To what extent do errors in entity linking and SQP prediction affect overall system accuracy?
  • RQ4What is the optimal number of candidate SQPs (k) to return for best performance in query graph construction?

Key findings

  • The proposed method, qaSQP, achieves an F1-score of 0.463 on LC-QuAD, outperforming all baseline methods, including STAGG and template-based systems.
  • The ensemble model for SQP prediction achieves an F1-score of 0.84 on QALD-8 and 0.82 on QALD-9, outperforming individual models (RNN-Attention and Text-CNN).
  • Providing correct structural query patterns (qaSQP-CP) leads to only a subtle improvement, indicating that the system’s SQP prediction is already highly accurate.
  • Correct entity linking (qaSQP-CE) significantly improves performance over qaSQP-CP, suggesting that entity linking is the main bottleneck, not SQP recognition.
  • The system’s performance stabilizes with k=2 or k=3 returned SQPs, leading to the default setting of k=2 for optimal balance of precision and recall.
  • 17% of errors are due to incorrect label assignments during query graph extension, and 29% are due to entity linking failures, highlighting key areas for future improvement.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.