paper-with-me

Papers

Text2Cypher: Bridging Natural Language and Graph Databases

2024-12-13 · Makbule Gulcin Ozsoy, Leila Messallem, Jon Besga, Gianandrea Minneci

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.

📄 PDF Abstract BibTeX arXiv:2412.10064

Code (0)

등록된 구현이 없습니다.

Tasks

Knowledge GraphsNatural Language Queries

Similar Papers 제목 키워드 기반

Robust Text-to-Cypher Using Combination of BERT, GraphSAGE, and Transformer (CoBGT) Model

2024-09-04 · MDPI Applied Scienses 2024 9 · Quoc-Bao-Huy Tran, Aagha Abdul Waheed, Sun-Tae Chung

Graph databases have become essential for managing and analyzing complex data relationships, with Neo4j emerging as a leading player in this domain. Neo4j, a high-performance NoSQL graph database, excels in efficiently h…

Natural Language QueriesSemantic Parsingtext-to-Cypher

KG2Cypher: Data-Centric Pipeline for Building Enterprise Text-to-Cypher Systems

2026-06-26 · Minjun Choi, Yerin Kim, Junghyuk Seo, Sujin Mo 외 arxiv

Enterprise Knowledge Graphs (KGs) are increasingly used for internal search, analytics, and question answering, but building natural-language interfaces for private enterprise graphs remains costly. We present KG2Cypher,…

Question AnsweringKnowledge Graphs

SpCQL: A Semantic Parsing Dataset for Converting Natural Language into Cypher

2022-10-17 · CIKM 2022 10 · Aibo Guo, Xinyi Li, Guanchen Xiao, Zhen Tan 외

The Neo4j query language Cypher enables efficient querying for graphs and has become the most popular graph database language. Due to its complexities, semantic parsing (similar to Text-to-SQL) that translates natural la…

Natural Language QueriesSemantic Parsingtext-to-CypherText to SQL+1

Toward Multi-Database Query Reasoning for Text2Cypher

2026-05-11 · Makbule Gulcin Ozsoy arxiv

Large language models have significantly improved natural language interfaces to databases by translating user questions into executable queries. In particular, Text2Cypher focuses on generating Cypher queries for graph …

Auto-Cypher: Improving LLMs on Cypher generation via LLM-supervised generation-verification framework

2024-12-17 · Aman Tiwari, Shiva Krishna Reddy Malay, Vikas Yadav, Masoud Hashemi 외

Graph databases like Neo4j are gaining popularity for handling complex, interconnected data, over traditional relational databases in modeling and querying relationships. While translating natural language into SQL queri…

Knowledge GraphsSynthetic Data Generationtext-to-Cypher