Usta, A.Karakayalı, A.Ulusoy, Özgür2024-03-122024-03-122023-08-231066-8888https://hdl.handle.net/11693/114554Recently, numerous studies have been proposed to attack the natural language interfaces to data-bases (NLIDB) problem by researchers either as a conventional pipeline-based or an end-to-end deep-learning-based solution. Although each approach has its own advantages and drawbacks, regardless of the approach preferred, both approaches exhibit black-box nature, which makes it difficult for potential users to comprehend the rationale behind the decisions made by the intelligent system to produce the translated SQL. Given that NLIDB targets users with little to no technical background, having interpretable and explainable solutions becomes crucial, which has been overlooked in the recent studies. To this end, we propose xDBTagger, an explainable hybrid translation pipeline that explains the decisions made along the way to the user both textually and visually. We also evaluate xDBTagger quantitatively in three real-world relational databases. The evaluation results indicate that in addition to being lightweight, fast, and fully explainable, xDBTagger is also competitive in terms of translation accuracy compared to both pipeline-based and end-to-end deep learning approaches.EnglishNatural language interface for databasesNLIDBText-to-SQLMulti-task learningExplainable artificial intelligenceXAIxDBTagger: explainable natural language interface to databases using keyword mappings and schema graphArticle10.1007/s00778-023-00809-w0949-877X