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

计算机科学 SQL语言 解析 自然语言处理 图形数据库 人工智能 数据定义语言 情报检索 模式(遗传算法) 图形 程序设计语言 理论计算机科学
作者
Aibo Guo,Xinyi Li,Guanchen Xiao,Zhen Tan,Xiang Zhao
标识
DOI:10.1145/3511808.3557703
摘要

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 language queries to Cypher becomes highly desirable. We propose the first Text-to-CQL dataset, SpCQL, which contains one Neo4j graph database, 10,000 manually annotated natural language queries and the matching Cypher queries (CQL). Correspondingly, based on this dataset, we define a new semantic parsing task Text-to-CQL. The Text-to-CQL task differs from the traditional Text-to-SQL task due to CQL being more flexible and versatile, especially for schema queries, which brings precedented challenges for the translation process. Although current SOTA Text-to-SQL models utilize SQL schema and contents, they do not scale up to large-scale graph databases. Besides, due to the absence of the primary and foreign keys in Cypher, which are essential for the multi-table Text-to-SQL task, existing Text-to-SQL models are rendered ineffective in this new task and have to be adapted to work. We propose three baselines based on the Seq2Seq framework and conduct experiments on the SpCQL dataset. The experiments yield undesirable results for existing models, hence pressing for subsequent research that considers the characteristics of SQL. The dataset is available at https://github.com/Guoaibo/Text-to-CQL.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
小马甲应助科研通管家采纳,获得10
刚刚
顾矜应助科研通管家采纳,获得10
刚刚
GG应助科研通管家采纳,获得10
刚刚
刚刚
科目三应助科研通管家采纳,获得10
刚刚
1秒前
1秒前
fantasy应助忧郁翠彤采纳,获得10
1秒前
1秒前
科研通AI6.4应助优雅老六采纳,获得10
1秒前
缥缈月光发布了新的文献求助10
1秒前
Tiantian发布了新的文献求助10
2秒前
张张发布了新的文献求助10
2秒前
于誉发布了新的文献求助10
3秒前
烟花应助现实的无敌采纳,获得10
4秒前
科研通AI2S应助是肥嘟嘟呀采纳,获得10
4秒前
雏菊发布了新的文献求助10
4秒前
4秒前
5秒前
英俊白凡完成签到 ,获得积分10
6秒前
kk发布了新的文献求助10
6秒前
可可布朗尼完成签到,获得积分10
9秒前
9秒前
田青君发布了新的文献求助10
9秒前
祝尼魔完成签到,获得积分10
9秒前
Whisper发布了新的文献求助10
10秒前
10秒前
11秒前
xst完成签到,获得积分20
11秒前
苹果谷兰完成签到,获得积分10
13秒前
NexusExplorer应助OCean采纳,获得10
13秒前
赘婿应助裴裴采纳,获得10
13秒前
14秒前
14秒前
砼砼完成签到,获得积分10
14秒前
萍p发布了新的文献求助10
14秒前
Orange应助赫鲁晓楠采纳,获得30
14秒前
彭于晏应助zhaohu47采纳,获得10
15秒前
华仔应助ling22采纳,获得10
15秒前
mascot0111完成签到,获得积分10
16秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
2026年中国辛酸癸酸聚乙二醇甘油酯行业市场现状调查及投资机会研判报告 1000
2026年中国辛酸癸酸聚乙二醇甘油酯行业市场规模及竞争格局分析报告 1000
48V Low-voltage Power Distribution Network (PDN) Architecture Industry Report, 2024 800
Fundamentals of Pharmaceutical and Biologics Regulations: A Global Perspective, Second Edition 700
Matrix Methods in Data Mining and Pattern Recognition Second Edition 510
适配Micro-LED色转换的高兼容性量子点负性光刻胶制备与工艺研究 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7316686
求助须知:如何正确求助?哪些是违规求助? 8932642
关于积分的说明 18936183
捐赠科研通 6976674
什么是DOI,文献DOI怎么找? 3214079
关于科研通互助平台的介绍 2382032
邀请新用户注册赠送积分活动 2192838