Text2Cypher: Bridging Natural Language and Graph Databases
Not on the map. Why?
Abstract (arXiv)
Knowledge graphs use nodes, relationships, and properties to represent arbitrarily complex data. When stored in a graph database, the Cypher query language enables efficient modeling and querying of knowledge graphs. However, using Cypher requires specialized knowledge, which can present a challenge for non-expert users. Our work Text2Cypher aims to bridge this gap by translating natural language queries into Cypher query language and extending the utility of knowledge graphs to non-technical expert users. While large language models (LLMs) can be used for this purpose, they often struggle to capture complex nuances, resulting in incomplete or incorrect outputs. Fine-tuning LLMs on domain-specific datasets has proven to be a more promising approach, but the limited availability of high-quality, publicly available Text2Cypher datasets makes this challenging. In this work, we show how we combined, cleaned and organized several publicly available datasets into a total of 44,387 instances, enabling effective fine-tuning and evaluation. Models fine-tuned on this dataset showed significant performance gains, with improvements in Google-BLEU and Exact Match scores over baseline models, highlighting the importance of high-quality datasets and fine-tuning in improving Text2Cypher performance.
Key facts. Cited by 30 papers in the map (data through 7 Oct 2026). Builds on 17 of its 37 references that are in the map. First posted on arXiv 13 Dec 2024.
Builds on
17 of 37 references.
References · 17
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,120
- 2023Can LLM Already Serve as A Database Interface? A BIg Bench for Large-Scale Database Grounded Text-to-SQLscited by 667
- 2015Compositional Semantic Parsing on Semi-Structured Tablescited by 509
- 2022DS-1000: A Natural and Reliable Benchmark for Data Science Code Generationcited by 442
- 2023LEVER: Learning to Verify Language-to-Code Generation with Executioncited by 228
- 2023GPT4Graph: Can Large Language Models Understand Graph Structured Data ? An Empirical Evaluation and Benchmarkingcited by 209
- 2023Rethinking Benchmark and Contamination for Language Models with Rephrased Samplescited by 192
- 2023RESDSQL: Decoupling Schema Linking and Skeleton Parsing for Text-to-SQLcited by 191
- 2017Variational Reasoning for Question Answering with Knowledge Graphcited by 170
- 2019JuICe: A Large Scale Distantly Supervised Dataset for Open Domain Context-based Code Generationcited by 49
5 more
- 2024SyntheT2C: Generating Synthetic Data for Fine-Tuning Large Language Models on the Text2Cypher Taskcited by 19
- 2024Metasql: A Generate-then-Rank Framework for Natural Language to SQL Translationcited by 17
- 2022Nebula Graph: An open source distributed graph databasecited by 8
- 2023S2CTrans: Building a bridge from SPARQL to Cyphercited by 6
- 2023Rel2Graph: Automated Mapping From Relational Databases to a Unified Property Knowledge Graphcited by 5
Built on by
Citing papers per year: 2025: 14; 2026: 16.
30 papers.
Sort:
By area:
- 2025Graph RAG-Tool Fusioncited by 15
- 2025BYOKG-RAG: Multi-Strategy Graph Retrieval for Knowledge Graph Question Answeringcited by 10
- 2025Multi-agent systems for chemical engineering: A review and perspectivecited by 9
- 2025Enhancing Text2Cypher with Schema Filteringcited by 6
- 2025GraphRAFT: Retrieval Augmented Fine-Tuning for Knowledge Graphs on Graph Databasescited by 5
- 2025STRuCT-LLM: Unifying Tabular and Graph Reasoning with Reinforcement Learning for Semantic Parsingcited by 5
- 2025Agent-as-a-Graph: Knowledge Graph-Based Tool and Agent Retrieval for LLM Multi-Agent Systemscited by 4
- 2025Text2Cypher Across Languages: Evaluating and Finetuning LLMscited by 3
- 2025ZOGRASCOPE: A New Benchmark for Semantic Parsing over Property Graphscited by 1
- 2026Grounding Large Language Models in Reaction Knowledge Graphs for Synthesis Retrievalcited by 1
- 2025Unlocking Electronic Health Records: A Hybrid Graph RAG Approach to Safe Clinical AI for Patient QAcited by 1
- 2026A Human-in-the-Loop, LLM-Centered Architecture for Knowledge-Graph Question Answeringcited by 1
18 more
- 2026GraphWalk: Enabling Reasoning in Large Language Models through Tool-Based Graph Navigationcited by 1
- 2026Extending Confidence-Based Text2Cypher with Grammar and Schema Aware Filteringcited by 1
- 2026CYGNET: Cypher Gate for Neural Execution Triage and Cost Containmentcited by 1
- 2026Achieving Precise Text-To-Cypher Via Grounded Knowledge Graph Data Generationcited by 1
- 2026Theory-Level Autoformalization: From Isolated Statements to Unified Formal Knowledge Basescited by 1
- 2025Natural Language Interaction with Databases on Edge Devices in the Internet of Battlefield Thingscited by 0
- 2025Multi-turn Natural Language to Graph Query Language Translationcited by 0
- 2025Skeletons Matter: Dynamic Data Augmentation for Text-to-Querycited by 0
- 2025Conversational No-code, Multi-agentic Disease Module Identification and Drug Repurposing Prediction with ChatDRexcited by 0
- 2026NGDBench: Towards Neural Graph Data Managementcited by 0
- 2026LLM+Graph@VLDB'2025 Workshop Summarycited by 0
- 2026Toward Multi-Database Query Reasoning for Text2Cyphercited by 0
- 2026OmniRetrieval: Unified Retrieval across Heterogeneous Knowledge Sourcescited by 0
- 2026Executable Schema Contracts: From Automatic Ingestion to Multi-Source Retrievalcited by 0
- 2026PIPE-Cypher: Automatic Enterprise Benchmark Generation for Text-to-Cypher Systemscited by 0
- 2026KG2Cypher: Data-Centric Pipeline for Building Enterprise Text-to-Cypher Systemscited by 0
- 2026What Drives Recovery in Agentic Text-to-Cypher? LAST-CQ: An LLM Agent Self-Refinement Frameworkcited by 0
- 2026CypherTurn: A Multi-Turn Benchmark for Conversational Text-to-Cypher Evaluation and the Autonomy Divergencecited by 0
- 2026CypherTurn: A Multi-Turn Benchmark for Conversational Text-to-Cypher Evaluation and the Autonomy Divergence29 Sep 2026
- 2026What Drives Recovery in Agentic Text-to-Cypher? LAST-CQ: An LLM Agent Self-Refinement Framework11 Sep 2026
- 2026Theory-Level Autoformalization: From Isolated Statements to Unified Formal Knowledge Bases14 Jul 2026
- 2026KG2Cypher: Data-Centric Pipeline for Building Enterprise Text-to-Cypher Systems26 Jun 2026
- 2026Achieving Precise Text-To-Cypher Via Grounded Knowledge Graph Data Generation12 Jun 2026
- 2026PIPE-Cypher: Automatic Enterprise Benchmark Generation for Text-to-Cypher Systems7 Jun 2026
- 2026Executable Schema Contracts: From Automatic Ingestion to Multi-Source Retrieval3 Jun 2026
- 2026CYGNET: Cypher Gate for Neural Execution Triage and Cost Containment3 Jun 2026
- 2026OmniRetrieval: Unified Retrieval across Heterogeneous Knowledge Sources28 May 2026
- 2026Toward Multi-Database Query Reasoning for Text2Cypher11 May 2026
- 2026Extending Confidence-Based Text2Cypher with Grammar and Schema Aware Filtering11 May 2026
- 2026LLM+Graph@VLDB'2025 Workshop Summary3 Apr 2026
18 more
- 2026GraphWalk: Enabling Reasoning in Large Language Models through Tool-Based Graph Navigation2 Apr 2026
- 2026NGDBench: Towards Neural Graph Data Management27 Feb 2026
- 2026A Human-in-the-Loop, LLM-Centered Architecture for Knowledge-Graph Question Answering5 Feb 2026
- 2026Grounding Large Language Models in Reaction Knowledge Graphs for Synthesis Retrieval22 Jan 2026
- 2025Unlocking Electronic Health Records: A Hybrid Graph RAG Approach to Safe Clinical AI for Patient QA27 Nov 2025
- 2025Conversational No-code, Multi-agentic Disease Module Identification and Drug Repurposing Prediction with ChatDRex26 Nov 2025
- 2025Skeletons Matter: Dynamic Data Augmentation for Text-to-Query24 Nov 2025
- 2025Agent-as-a-Graph: Knowledge Graph-Based Tool and Agent Retrieval for LLM Multi-Agent Systems22 Nov 2025
- 2025Multi-agent systems for chemical engineering: A review and perspective11 Aug 2025
- 2025Multi-turn Natural Language to Graph Query Language Translation3 Aug 2025
- 2025BYOKG-RAG: Multi-Strategy Graph Retrieval for Knowledge Graph Question Answering5 Jul 2025
- 2025Text2Cypher Across Languages: Evaluating and Finetuning LLMs26 Jun 2025
- 2025STRuCT-LLM: Unifying Tabular and Graph Reasoning with Reinforcement Learning for Semantic Parsing15 Jun 2025
- 2025Natural Language Interaction with Databases on Edge Devices in the Internet of Battlefield Things5 Jun 2025
- 2025Enhancing Text2Cypher with Schema Filtering8 May 2025
- 2025GraphRAFT: Retrieval Augmented Fine-Tuning for Knowledge Graphs on Graph Databases7 Apr 2025
- 2025ZOGRASCOPE: A New Benchmark for Semantic Parsing over Property Graphs7 Mar 2025
- 2025Graph RAG-Tool Fusion11 Feb 2025
- 2025Multi-agent systems for chemical engineering: A review and perspectivecited by 9
- 2025Agent-as-a-Graph: Knowledge Graph-Based Tool and Agent Retrieval for LLM Multi-Agent Systemscited by 4
- 2025Conversational No-code, Multi-agentic Disease Module Identification and Drug Repurposing Prediction with ChatDRexcited by 0
- 2026What Drives Recovery in Agentic Text-to-Cypher? LAST-CQ: An LLM Agent Self-Refinement Frameworkcited by 0
- 2026What Drives Recovery in Agentic Text-to-Cypher? LAST-CQ: An LLM Agent Self-Refinement Framework11 Sep 2026
- 2025Conversational No-code, Multi-agentic Disease Module Identification and Drug Repurposing Prediction with ChatDRex26 Nov 2025
- 2025Agent-as-a-Graph: Knowledge Graph-Based Tool and Agent Retrieval for LLM Multi-Agent Systems22 Nov 2025
- 2025Multi-agent systems for chemical engineering: A review and perspective11 Aug 2025
- 2025GraphRAFT: Retrieval Augmented Fine-Tuning for Knowledge Graphs on Graph Databasescited by 5
- 2025STRuCT-LLM: Unifying Tabular and Graph Reasoning with Reinforcement Learning for Semantic Parsingcited by 5
- 2026GraphWalk: Enabling Reasoning in Large Language Models through Tool-Based Graph Navigationcited by 1
- 2026Toward Multi-Database Query Reasoning for Text2Cyphercited by 0
- 2026Toward Multi-Database Query Reasoning for Text2Cypher11 May 2026
- 2026GraphWalk: Enabling Reasoning in Large Language Models through Tool-Based Graph Navigation2 Apr 2026
- 2025STRuCT-LLM: Unifying Tabular and Graph Reasoning with Reinforcement Learning for Semantic Parsing15 Jun 2025
- 2025GraphRAFT: Retrieval Augmented Fine-Tuning for Knowledge Graphs on Graph Databases7 Apr 2025
- 2025Unlocking Electronic Health Records: A Hybrid Graph RAG Approach to Safe Clinical AI for Patient QA27 Nov 2025
- 2025Graph RAG-Tool Fusion11 Feb 2025
- 2025BYOKG-RAG: Multi-Strategy Graph Retrieval for Knowledge Graph Question Answeringcited by 10
- 2025Enhancing Text2Cypher with Schema Filteringcited by 6
- 2025Text2Cypher Across Languages: Evaluating and Finetuning LLMscited by 3
- 2025ZOGRASCOPE: A New Benchmark for Semantic Parsing over Property Graphscited by 1
- 2026Grounding Large Language Models in Reaction Knowledge Graphs for Synthesis Retrievalcited by 1
- 2026A Human-in-the-Loop, LLM-Centered Architecture for Knowledge-Graph Question Answeringcited by 1
- 2026Extending Confidence-Based Text2Cypher with Grammar and Schema Aware Filteringcited by 1
- 2026CYGNET: Cypher Gate for Neural Execution Triage and Cost Containmentcited by 1
- 2026Achieving Precise Text-To-Cypher Via Grounded Knowledge Graph Data Generationcited by 1
- 2026Theory-Level Autoformalization: From Isolated Statements to Unified Formal Knowledge Basescited by 1
- 2025Natural Language Interaction with Databases on Edge Devices in the Internet of Battlefield Thingscited by 0
- 2025Multi-turn Natural Language to Graph Query Language Translationcited by 0
12 most cited of 20 All 20 (JSON)
- 2026CypherTurn: A Multi-Turn Benchmark for Conversational Text-to-Cypher Evaluation and the Autonomy Divergence29 Sep 2026
- 2026Theory-Level Autoformalization: From Isolated Statements to Unified Formal Knowledge Bases14 Jul 2026
- 2026KG2Cypher: Data-Centric Pipeline for Building Enterprise Text-to-Cypher Systems26 Jun 2026
- 2026Achieving Precise Text-To-Cypher Via Grounded Knowledge Graph Data Generation12 Jun 2026
- 2026PIPE-Cypher: Automatic Enterprise Benchmark Generation for Text-to-Cypher Systems7 Jun 2026
- 2026Executable Schema Contracts: From Automatic Ingestion to Multi-Source Retrieval3 Jun 2026
- 2026CYGNET: Cypher Gate for Neural Execution Triage and Cost Containment3 Jun 2026
- 2026OmniRetrieval: Unified Retrieval across Heterogeneous Knowledge Sources28 May 2026
- 2026Extending Confidence-Based Text2Cypher with Grammar and Schema Aware Filtering11 May 2026
- 2026LLM+Graph@VLDB'2025 Workshop Summary3 Apr 2026
- 2026NGDBench: Towards Neural Graph Data Management27 Feb 2026
- 2026A Human-in-the-Loop, LLM-Centered Architecture for Knowledge-Graph Question Answering5 Feb 2026
12 newest of 20 All 20 (JSON)