AIDBAug 3, 2025

Multi-turn Natural Language to Graph Query Language Translation

arXiv:2508.01871v1h-index: 6
Originality Incremental advance
AI Analysis

This addresses the problem of handling complex, context-dependent user interactions with graph databases for researchers and practitioners, though it is incremental as it builds on existing single-turn methods.

The paper tackles the lack of multi-turn natural language to graph query language translation methods and datasets by proposing an automated dataset construction method using LLMs, resulting in the MTGQL dataset from a financial market graph database and three baseline methods for evaluation.

In recent years, research on transforming natural language into graph query language (NL2GQL) has been increasing. Most existing methods focus on single-turn transformation from NL to GQL. In practical applications, user interactions with graph databases are typically multi-turn, dynamic, and context-dependent. While single-turn methods can handle straightforward queries, more complex scenarios often require users to iteratively adjust their queries, investigate the connections between entities, or request additional details across multiple dialogue turns. Research focused on single-turn conversion fails to effectively address multi-turn dialogues and complex context dependencies. Additionally, the scarcity of high-quality multi-turn NL2GQL datasets further hinders the progress of this field. To address this challenge, we propose an automated method for constructing multi-turn NL2GQL datasets based on Large Language Models (LLMs) , and apply this method to develop the MTGQL dataset, which is constructed from a financial market graph database and will be publicly released for future research. Moreover, we propose three types of baseline methods to assess the effectiveness of multi-turn NL2GQL translation, thereby laying a solid foundation for future research.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes