Outlining and Filling: Hierarchical Query Graph Generation for Answering Complex Questions Over Knowledge Graphs
Open accessAbstract
Query graph construction aims to construct the correct executable SPARQL on the KG to answer natural language questions. Although recent methods have achieved good results using neural network-based query graph ranking, they suffer from three new challenges when handling more complex questions: 1) complicated SPARQL syntax, 2) huge search space, and 3) locally ambiguous query graphs. In this paper, we provide a new solution. As a preparation, we extend the query graph by treating each SPARQL clause as a subgraph consisting of vertices and edges and define a unified graph grammar called AQG to describe the structure of query graphs. Based on these concepts, we propose a novel end-to-end model that performs hierarchical autoregressive decoding to generate query graphs. The high-level decoding generates an AQG as a constraint to prune the search space and reduce the locally ambiguous query graph. The bottom-level decoding accomplishes the query graph construction by selecting appropriate instances from the preprepared candidates to fill the slots in the AQG. The experimental results show that our method greatly improves the SOTA performance on complex KGQA benchmarks. Equipped with pre-trained models, the performance of our method is further improved, achieving SOTA for all three datasets used.
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Integrity signals
Registry
Cites
Statistics
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
Existing instances in GraphRAG have drawn heavily from KBQA techniques, utilizing both information retrieval methods and semantic parsing models to identify relevant subgraphs or reasoning paths.
“Existing instances (or implementations) in GraphRAG have drawn heavily from knowledge-base question answering (KBQA) techniques, utilizing both information retrieval methods [78, 92] and semantic parsing models [14, 59] to identify relevant subgraphs or reasoning paths.”
From LEGO-GraphRAG: Modularizing Graph-Based Retrieval-Augmented Generation for Design Space Exploration (2025) · cites this paper as [14]
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
The citation lists haven’t been fetched yet
References 40 · Cited by 41
Research works printed but not linked: 38
- J. Berant and P. Liang, "Semantic parsing via paraphrasing," in ACL, 2014, pp. 1415-1425.
- W. Yih, M. Chang, X. He, and J. Gao, "Semantic parsing via staged query graph generation: Question answering with knowledge base," in ACL, 2015, pp. 1321-1331.
- S. Hu, L. Zou, and X. Zhang, "A state-transition framework to answer complex questions over knowledge base," in EMNLP, 2018, pp. 2098-2108.
- J. Jiao, S. Wang, X. Zhang, L. Wang, Z. Feng, and J. Wang, "gmatch: Knowledge base question answering via semantic matching," Knowl. Based Syst., vol. 228, p. 107270, 2021.
- H. Xiong, S. Wang, M. Tang, L. Wang, and X. Lin, "Knowledge graph question answering with semantic oriented fusion model," Knowl. Based Syst., vol. 221, p. 106954, 2021.
- K. Luo, F. Lin, X. Luo, and K. Q. Zhu, "Knowledge base question answering via encoding of complex query graphs," in EMNLP, 2018, pp. 2185-2194.
- G. Maheshwari, P. Trivedi, D. Lukovnikov, N. Chakraborty, A. Fis- cher, and J. Lehmann, "Learning to rank query graphs for complex question answering over knowledge graphs," in ISWC, vol. 11778, 2019, pp. 487-504.
- G. He, Y. Lan, J. Jiang, W. X. Zhao, and J. Wen, "Improving multi- hop knowledge base question answering by learning intermediate supervision signals," in WSDM, 2021, pp. 553-561.
- M. Bakhshi, M. Nematbakhsh, M. Mohsenzadeh, and A. M. Rahmani, "Sparseqa: Sequential word reordering and parsing for answering complex natural language questions over knowledge graphs," Knowl. Based Syst., vol. 235, p. 107626, 2022.
- J. Berant, A. Chou, R. Frostig, and P. Liang, "Semantic parsing on freebase from question-answer pairs," in EMNLP, 2013, pp. 1533- 1544.
- W. Yih, M. Richardson, C. Meek, M. Chang, and J. Suh, "The value of semantic parse labeling for knowledge base question answering," in ACL, 2016.
- T. Yu, M. Yasunaga, K. Yang, R. Zhang, D. Wang, Z. Li, and D. R. Radev, "Syntaxsqlnet: Syntax tree networks for complex and cross- domain text-to-sql task," in EMNLP, 2018, pp. 1653-1663.
- J. Guo, Z. Zhan, Y. Gao, Y. Xiao, J. Lou, T. Liu, and D. Zhang, "Towards complex text-to-sql in cross-domain database with in- termediate representation," in ACL, 2019, pp. 4524-4535.
- B. Wang, R. Shin, X. Liu, O. Polozov, and M. Richardson, "RAT- SQL: relation-aware schema encoding and linking for text-to-sql parsers," in ACL, 2020, pp. 7567-7578.
- Y. Lan and J. Jiang, "Query graph generation for answering multi- hop complex questions from knowledge bases," in ACL, 2020, pp. 969-974.
- K. Qin, C. Li, V. Pavlu, and J. A. Aslam, "Improving query graph generation for complex question answering over knowl- edge base," in EMNLP, 2021, pp. 4201-4207.
- S. Liu, N. Tan, Y. Ge, and N. Lukac, "Research on automatic question answering of generative knowledge graph based on pointer network," Inf., vol. 12, no. 3, p. 136, 2021.
- P. Trivedi, G. Maheshwari, M. Dubey, and J. Lehmann, "Lc- quad: A corpus for complex question answering over knowledge graphs," in ISWC, vol. 10588, 2017, pp. 210-218.
- J. Devlin, M. Chang, K. Lee, and K. Toutanova, "BERT: pre-training of deep bidirectional transformers for language understanding," in NAACL, 2019, pp. 4171-4186.
- J. Ding, W. Hu, Q. Xu, and Y. Qu, "Leveraging frequent query substructures to generate formal queries for complex question answering," in EMNLP, 2019, pp. 2614-2622.
- M. Yu, W. Yin, K. S. Hasan, C. N. dos Santos, B. Xiang, and B. Zhou, "Improved neural relation detection for knowledge base question answering," in ACL, 2017, pp. 571-581.
- H. Sun, B. Dhingra, M. Zaheer, K. Mazaitis, R. Salakhutdinov, and W. W. Cohen, "Open domain question answering using early fusion of knowledge bases and text," in EMNLP, 2018, pp. 4231- 4242.
- H. Sun, T. Bedrax-Weiss, and W. W. Cohen, "Pullnet: Open domain question answering with iterative retrieval on knowledge bases and text," in EMNLP, 2019, pp. 2380-2390.
- R. Koncel-Kedziorski, D. Bekal, Y. Luan, M. Lapata, and H. Ha- jishirzi, "Text generation from knowledge graphs with graph transformers," in NAACL, 2019, pp. 2284-2293.
- A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A. N. Gomez, L. Kaiser, and I. Polosukhin, "Attention is all you need," in NIPS, 2017, pp. 5998-6008.
- S. Wiseman and A. M. Rush, "Sequence-to-sequence learning as beam-search optimization," CoRR, vol. abs/1606.02960, 2016. · arXiv
- Y. Lan, S. Wang, and J. Jiang, "Knowledge base question answering with topic units," in IJCAI, 2019, pp. 5046-5052.
- Y. Chen, H. Li, Y. Hua, and G. Qi, "Formal query building with query structure prediction for complex question answering over knowledge base," in IJCAI, 2020, pp. 3751-3758.
- Y. Chen and H. Li, "DAM: transformer-based relation detection for question answering over knowledge base," Knowl. Based Syst., vol. 201-202, p. 106077, 2020.
- J. Pennington, R. Socher, and C. D. Manning, "Glove: Global vectors for word representation," in ACL, 2014, pp. 1532-1543.
- P. Kapanipathi, I. Abdelaziz, S. Ravishankar, S. Roukos, A. G. Gray, R. F. Astudillo, M. Chang, C. Cornelio, S. Dana, A. Fok- oue, D. Garg, A. Gliozzo, S. Gurajada, H. Karanam, N. Khan, D. Khandelwal, Y. Lee, Y. Li, F. P. S. Luus, N. Makondo, N. Mi- hindukulasooriya, T. Naseem, S. Neelam, L. Popa, R. G. Reddy, R. Riegel, G. Rossiello, U. Sharma, G. P. S. Bhargav, and M. Yu, "Leveraging abstract meaning representation for knowledge base question answering," in Findings of ACL, vol. ACL/IJCNLP 2021, 2021, pp. 3884-3894.
- X. Hu, Y. Shu, X. Huang, and Y. Qu, "Edg-based question decom- position for complex question answering over knowledge bases," in ISWC, vol. 12922, 2021, pp. 128-145.
- S. Hu, L. Zou, J. X. Yu, H. Wang, and D. Zhao, "Answering nat- ural language questions by subgraph matching over knowledge graphs," IEEE Trans. Knowl. Data Eng., vol. 30, no. 5, pp. 824-837, 2018.
- X. Yao and B. V. Durme, "Information extraction over structured data: Question answering with freebase," in ACL, 2014, pp. 956- 966.
- A. Bordes, S. Chopra, and J. Weston, "Question answering with subgraph embeddings," in EMNLP, 2014, pp. 615-620.
- L. Dong, F. Wei, M. Zhou, and K. Xu, "Question answering over freebase with multi-column convolutional neural networks," in ACL, 2015, pp. 260-269.
- A. H. Miller, A. Fisch, J. Dodge, A. Karimi, A. Bordes, and J. Weston, "Key-value memory networks for directly reading documents," in EMNLP, 2016, pp. 1400-1409.
- Y. Zhang, H. Dai, Z. Kozareva, A. J. Smola, and L. Song, "Varia- tional reasoning for question answering with knowledge graph," in AAAI, 2018, pp. 6069-6076.
- Authors
- Chen, Y., Li, H., Qi, G., Wu, T., & Wang, T.
- Affiliations
- Southeast University (CN)
- Venue
- IEEE Transactions on Knowledge and Data Engineering
- Published
- 2023-08-01
- Volume
- 35
- Issue
- 8
- Pages
- 8343-8357
- ISSN
- 1041-4347 (ISSN-L)
- 1558-2191
- 2326-3865
- OpenAlex
- W4296437323
- Cited by
- 41
- References
- 40
- Citations by year
- 2026: 12 · 2025: 12 · 2024: 11 · 2023: 4 · 2022: 2
- FWCI
- 2.39
- Type
- journal article
- Language
- en
- Open access
- green
- arxiv.org
- Licence
- Locations
- IEEE Transactions on Knowledge and Data Engineering (publishedVersion)
- arXiv (Cornell University) (submittedVersion, cc-by)
- arXiv (Cornell University) (cc-by)
- Funders
- National Natural Science Foundation of China (61502095, U21A20488, 62006040)
- Project for the Doctor of Entrepreneurship and Innovation in Jiangsu Province (JSSCBS20210126)
- Fundamental Research Funds for the Central Universities
- ZhiShan Young Scholar Program of Southeast University
- Topics
- Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
- Physical Sciences › Computer Science › Artificial Intelligence › Semantic Web and Ontologies
- Physical Sciences › Computer Science › Artificial Intelligence › Advanced Graph Neural Networks
- Keywords
- knowledge graph question answering, SPARQL, graph grammars, search space pruning, natural language question answering
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review