ACL Findings2025
SPOT: Zero-Shot Semantic Parsing Over Property Graphs
Francesco Cazzaro, Justin Kleindienst, Sofia Márquez Gomez, Ariadna Quattoni
Abstract
Knowledge Graphs (KGs) have gained popularity as a means of storing structured data, with property graphs, in particular, gaining traction in recent years. Consequently, the task of semantic parsing remains crucial in enabling access to the information in these graphs via natural language queries. However, annotated data is scarce, requires significant effort to create, and is not easily transferable between different graphs. To address these challenges we introduce SPOT, a method to generate training data for semantic parsing over Property Graphs without human annotations. We generate tree patterns, match them to the KG to obtain a query program, and use a finite-state transducer to produce a proto-natural language realization of the query. Finally, we paraphrase the proto-NL with an LLM to generate samples for training a semantic parser. We demonstrate the effectiveness of SPOT on two property graph benchmarks utilizing the Cypher query language. In addition, we show that our approach can also be applied effectively to RDF graphs.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
Lineage
- FlexKBQA: A Flexible LLM-Powered Framework for Few-Shot Knowledge Base Question Answering cites RNG-KBQA: Generation Augmented Iterative Ranking for Knowledge Base Question Answering
- FlexKBQA: A Flexible LLM-Powered Framework for Few-Shot Knowledge Base Question Answering cites Beyond I.I.D.: Three Levels of Generalization for Question Answering on Knowledge Bases
- FlexKBQA: A Flexible LLM-Powered Framework for Few-Shot Knowledge Base Question Answering cites Case-based Reasoning for Natural Language Queries over Knowledge Bases
Builds on17
- Beyond I.I.D.: Three Levels of Generalization for Question Answering on Knowledge BasesYu Gu, Sue Kase, Michelle Vanni, Brian M. Sadler et al.WWW 2021 · 304 citations
- RNG-KBQA: Generation Augmented Iterative Ranking for Knowledge Base Question AnsweringXi Ye, Semih Yavuz, Kazuma Hashimoto, Yingbo Zhou et al.ACL 2022 · 203 citations
- FlexKBQA: A Flexible LLM-Powered Framework for Few-Shot Knowledge Base Question AnsweringZhenyu Li, Sunqi Fan, Yu Gu, Xiuxing Li et al.AAAI 2024 · 143 citations
- Case-based Reasoning for Natural Language Queries over Knowledge BasesRajarshi Das, Manzil Zaheer, Dung Thai, Ameya Godbole et al.EMNLP 2021 · 111 citations
- Graph Neural Prompting with Large Language ModelsYijun Tian, Huan Song, Zichen Wang, Haozhu Wang et al.AAAI 2024 · 90 citations
Related papers
- ZOGRASCOPE: A New Benchmark for Semantic Parsing over Property GraphsFrancesco Cazzaro, Justin Kleindienst, Sofia Márquez Gomez, Ariadna QuattoniEMNLP Findings 2025 · 1 citation
- From Phrases to Subgraphs: Fine-Grained Semantic Parsing for Knowledge Graph Question AnsweringYurun Song, Xiangqing Shen, Rui XiaACL Findings 2025 · 4 citations
- Compositional Generalization with Grounded Language ModelsSondre Wold, Étienne Simon, Lucas Georges Gabriel Charpentier, Egor V. Kostylev et al.ACL Findings 2024
- Interactive Semantic Parsing with Reinforcement Learning for Knowledge Graph ReasoningYurun Song, Xiangqing Shen, Jianfei Yu, Rui XiaACL Findings 2026
- CypherSmith: Transforming Text-to-Cypher Generation for LLMs with Synthetic DataZeyu Zhang, Kexuan Sun, Zheng Tang, Jens-S. Vöckler et al.ACL 2026
