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

Minjun Choi, Yerin Kim, Junghyuk Seo, Sujin Mo, Hyemin Lee +1 more
6/26/2026
cs.CLcs.AI
lora-peft-merging

No confident code implementation found for this paper.

Abstract

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, a data-centric pipeline for building enterprise text-to-Cypher systems from existing KGs.

Show full abstract

KG2Cypher first constructs an executable Cypher query from observed graph facts and then uses LLMs to generate its associated natural-language question. The resulting Text-Cypher pairs are validated with an LLM judge and human validation, and are converted into candidate-aware SFT data. The trained generator is served with class-conditioned schema prompting, entity retrieval, and LoRA-based inference. We evaluate KG2Cypher in Korean enterprise settings, where short search-style queries and schema paraphrases make language grounding difficult. LoRA SFT improves execution-result F1 from 0.806 to 0.950 on broadcast-program queries and from 0.70 to 0.92 on company queries. In an 11-class setting, KG2Cypher achieves 95.2% exact match, 99.9% execution rate, and 0.964 execution-result F1.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{choi2026kgcypher,
  title  = {KG2Cypher: Data-Centric Pipeline for Building Enterprise Text-to-Cypher Systems},
  author = {Minjun Choi and Yerin Kim and Junghyuk Seo and Sujin Mo and Hyemin Lee and Youngjoong Ko},
  year   = {2026},
  eprint = {2606.27742},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.27742v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2606.27742.svg)](https://codeofpaper.com/paper/2606.27742)

Discussion