Lune

ACL2025Top-tier venue

Adaptive and Robust Translation from Natural Language to Multi-model Query Languages

Gengyuan Shi, Chaokun Wang, Yabin Liu, Jiawei Ren

Abstract

Multi-model databases and polystore systems are increasingly studied for managing multimodel data holistically. As their primary interface, multi-model query languages (MMQLs) often exhibit complex grammars, highlighting the need for effective Text-to-MMQL translation methods. Despite advances in natural language translation, no effective solutions for Text-to-MMQL exist. To address this gap, we formally define the Text-to-MMQL task and present the first Text-to-MMQL dataset involving three representative MMQLs. We propose an adaptive Text-to-MMQL framework that includes both a schema embedding module for capturing multi-model schema information and an MMQL representation strategy to generate concise intermediate query formats with error correction in generated queries. Experimental results show that the proposed framework achieves over a 9% accuracy improvement over our adapted baseline methods.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • PURPLE: Making a Large Language Model a Better SQL Writer cites Natural SQL: Making SQL Easier to Infer from Natural Language Specifications
  • PURPLE: Making a Large Language Model a Better SQL Writer cites DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correction
  • PURPLE: Making a Large Language Model a Better SQL Writer cites CatSQL: Towards Real World Natural Language to SQL Applications
  • DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correction cites Natural SQL: Making SQL Easier to Infer from Natural Language Specifications
  • CatSQL: Towards Real World Natural Language to SQL Applications cites Natural SQL: Making SQL Easier to Infer from Natural Language Specifications
  • DTS-SQL: Decomposed Text-to-SQL with Small Large Language Models cites DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correction
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on7

  1. DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-CorrectionMohammadreza Pourreza, Davood RafieiNeurIPS 2023 · 909 citations
  2. Natural SQL: Making SQL Easier to Infer from Natural Language SpecificationsYujian Gan, Xinyun Chen, Jinxia Xie, Matthew Purver et al.EMNLP Findings 2021 · 88 citations
  3. CatSQL: Towards Real World Natural Language to SQL ApplicationsHan Fu, Chang Liu, Bin Wu, Feifei Li et al.VLDB 2023 · 79 citations
  4. DTS-SQL: Decomposed Text-to-SQL with Small Large Language ModelsMohammadreza Pourreza, Davood RafieiEMNLP Findings 2024 · 71 citations
  5. PURPLE: Making a Large Language Model a Better SQL WriterTonghui Ren, Yuankai Fan, Zhenying He, Ren Huang et al.ICDE 2024 · 49 citations

Related papers

  1. Dialect-SQL: An Adaptive Framework for Bridging the Dialect Gap in Text-to-SQLJie Shi, Xi Cao, Bo Xu, Jiaqing Liang et al.EMNLP 2025 · 2 citations
  2. R³-NL2GQL: A Model Coordination and Knowledge Graph Alignment Approach for NL2GQLYuhang Zhou, Yu He, Siyu Tian, Yuchen Ni et al.EMNLP Findings 2024 · 5 citations
  3. MultiSQL: A Schema-Integrated Context-Dependent Text2SQL Dataset with Diverse SQL OperationsChunhui Li, Yifan Wang, Zhen Wu, Zhen Yu et al.ACL Findings 2024 · 6 citations
  4. MM2SQL: A Benchmark and Method for Visually-Grounded SQL GenerationShengze Shi, Tao Ren, Li Qi, Tingrui Yang et al.ICDE 2026
  5. MARS-SQL: A Multi-Agent Reinforcement Learning Framework For Text-To-SQLHaolin Yang, Jipeng Zhang, Zhitao He, Alexander Zhou et al.ICML 2026 · 12 citations
Dusk over the sea between two cliffs drawn in fine vertical lines