Toward effective Text-to-MongoDB query translation
International Journal of Advances in Intelligent Informatics · 31.05.2026 · 12 (2) · 528
DOI: 10.26555/ijain.v12i2.2360 ↗Kurz gefasst
Fachartikel in der Zeitschrift International Journal of Advances in Intelligent Informatics, online erschienen am 31.05.2026. Verfasst von Aicha Aggoune. Der Volltext ist frei zugänglich (Open Access, CC BY-SA 4.0).
Abstract (Originalsprache)
Translating natural language questions into MongoDB queries is critical for flexible data access in current NoSQL systems. However, semantic ambiguity in user questions and MongoDB's dynamic schema make this work difficult. This study presents QMQL (Question to Mongo Query Language), a hybrid approach meant to address these challenges. QMQL combines a Graph Attention Network (GAT) for refining schema elements with a Retrieval-Augmented Generation (RAG) mechanism that employs BERT embeddings to retrieve relevant schema and resolve semantic ambiguity. A T5-base model is used to generate a MongoDB query corresponding to the user’s question. An experimental evaluation on an extended dataset encompassing various real-world domains demonstrates the effectiveness of the proposed approach. QMQL achieves excellent performance with an EMA of 0.89, an EM of 0.91, and a BLEU score of 0.95, exceeding previous approaches, particularly for semantically ambiguous questions and sophisticated queries across flexible MongoDB schemas,
Zitieren
APA
Aggoune, A. (2026). Toward effective Text-to-MongoDB query translation. International Journal of Advances in Intelligent Informatics, 12(2), 528. https://doi.org/10.26555/ijain.v12i2.2360
Vancouver
Aggoune A. Toward effective Text-to-MongoDB query translation. International Journal of Advances in Intelligent Informatics. 2026;12(2):528. doi:10.26555/ijain.v12i2.2360
BibTeX
@article{Aggoune2026,
author = {Aggoune, Aicha},
title = {Toward effective Text-to-MongoDB query translation},
journal = {International Journal of Advances in Intelligent Informatics},
year = {2026},
volume = {12},
number = {2},
pages = {528},
doi = {10.26555/ijain.v12i2.2360}
}
EUVIMED