Adaptive and Robust Translation from Natural Language to Multi-model Query Languages
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.
Authors
- Jiawei Ren (ORCID: https://orcid.org/0000-0003-4104-9647)
- Chaokun Wang (ORCID: https://orcid.org/0000-0002-2986-2574)
- Yabin Liu (ORCID: https://orcid.org/0000-0003-1356-6161)
- Gengyuan Shi
Institutions
- Tsinghua University (CN)
Publication Details
- Published
- 2025-01-01
- DOI
- https://doi.org/10.18653/v1/2025.acl-long.776
- Primary Topic
- Semantic Web and Ontologies
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China