Skip to main content
LawSphereX

SPOT: Zero-Shot Semantic Parsing Over Property Graphs

Subject: Language and Linguistics

Author or source: Francesco Cazzaro, Justin Kleindienst, Sofia Márquez Gomez, Ariadna Quattoni

Updated:

To address these challenges we introduce SPOT, a method to generate training data for semantic parsing over Property Graphs without human annotations.

Francesco Cazzaro, Justin Kleindienst, Sofia Márquez Gomez, Ariadna Quattoni. 2025. SPOT: Zero-Shot Semantic Parsing Over Property Graphs. Findings of the Association for Computational Linguistics: ACL 2025. Association for Computational Linguistics. DOI 10.18653/v1/2025.findings-acl.524. CC BY 4.0. Original PDF and author abstract are reproduced unchanged apart from whitespace in the abstract. LawSphereX prepared the reading prompt and cover. No endorsement implied.

Publication sources

Authors’ abstract

Source page 1–17

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.

Reading guide for language and linguistics

Source page 1–17

Identify the language phenomenon and how the authors annotate or measure it. Check whether the examples support the conclusions for other settings.