SPOT: Zero-Shot Semantic Parsing Over Property Graphs

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.

Authors

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.18653/v1/2025.findings-acl.524
Primary Topic
Topic Modeling
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

SPOT: Zero-Shot Semantic Parsing Over Property Graphs

Francesco Cazzaro, Jan Kleindienst, Ariadna Quattoni, Sergio Gómez
Topic Modeling
article

SPOT: Zero-Shot Semantic Parsing Over Property Graphs

Francesco Cazzaro, Jan Kleindienst, Ariadna Quattoni, Sergio Gómez
article en

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.

European Commission, Generalitat de Catalunya, Agència de Gestió d'Ajuts Universitaris i de Recerca, European Regional Development Fund
Openalex Percentile: Top 90%
Topic Modeling
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

SPOT: Zero-Shot Semantic Parsing Over Property Graphs — Francesco Cazzaro, Jan Kleindienst, et al. · (2025) | TGRS Research Map | TGRS