Publication:
Creating CREATE queries with multi-task deep neural networks

dc.contributor.authorDiker, S. Nazmi
dc.contributor.authorSakar, C. Okan
dc.contributor.authorDiker, S. Nazmi
dc.contributor.authorDiker, S. Nazmi
dc.contributor.institutionBahcesehir University
dc.date.accessioned2025-10-09T10:31:33Z
dc.date.issued2023
dc.description.abstractText-to-SQL is the task of mapping natural language utterances to structured query language (SQL). Prior studies focus on information retrieval aspect of this task. In this paper, we demonstrate a new use case for the text-to-SQL studies where a user can create database models from natural language and introduce the first dataset for this task. Furthermore, we propose a framework that consists of three modular components: (1) classifier component which predicts the data type and constraints of a column, (2) constraint component which establishes foreign key relationships between tables, (3) query component which generates a series of CREATE queries through a slot-filling approach. We propose various baseline models to evaluate the classifier component in different aspects. Each model is based on a state-of-the-art pre-trained language model that allows us to assess contextualized word representations in the table creation task. The obtained results showed that such representations play a vital role in classifying column data types and constraints correctly. One of the downsides of pre-trained models is the training time and the model size. Our experiments revealed that a multi-task BERT model achieving 75% and 96% accuracy for the data type and constraint prediction tasks, respectively, effectively addresses both problems. (c) 2023 Elsevier B.V. All rights reserved.
dc.identifier.doi10.1016/j.knosys.2023.110416
dc.identifier.issn0950-7051
dc.identifier.issn1872-7409
dc.identifier.scopus2-s2.0-85149440187
dc.identifier.urihttp://dx.doi.org/10.1016/j.knosys.2023.110416
dc.identifier.urihttps://hdl.handle.net/20.500.14719/14165
dc.identifier.volume266
dc.identifier.wosWOS:000962425400001
dc.identifier.woscitationindexScience Citation Index Expanded (SCI-EXPANDED)
dc.language.isoen
dc.publisherELSEVIER
dc.relation.sourceKNOWLEDGE-BASED SYSTEMS
dc.subject.authorkeywordsNatural language processing
dc.subject.authorkeywordsDeep neural networks
dc.subject.authorkeywordsTransfer learning
dc.subject.authorkeywordsMulti -task learning
dc.subject.authorkeywordsDatabase schema creation
dc.subject.authorkeywordsMulti-task Learning
dc.subject.authorkeywordsClassification (of Information)
dc.subject.authorkeywordsLearning Systems
dc.subject.authorkeywordsNatural Language Processing Systems
dc.subject.authorkeywordsQuery Languages
dc.subject.authorkeywordsQuery Processing
dc.subject.authorkeywordsData Constraints
dc.subject.authorkeywordsDatabase Schemas
dc.subject.authorkeywordsDatatypes
dc.subject.authorkeywordsLanguage Processing
dc.subject.authorkeywordsMultitask Learning
dc.subject.authorkeywordsNatural Languages
dc.subject.authorkeywordsStructured Query Language
dc.subject.indexkeywordsONTOLOGIES
dc.subject.indexkeywordsClassification (of information)
dc.subject.indexkeywordsLearning systems
dc.subject.indexkeywordsNatural language processing systems
dc.subject.indexkeywordsQuery languages
dc.subject.indexkeywordsQuery processing
dc.subject.indexkeywordsTransfer learning
dc.subject.indexkeywordsData constraints
dc.subject.indexkeywordsDatabase schema creation
dc.subject.indexkeywordsDatabase schemas
dc.subject.indexkeywordsDatatypes
dc.subject.indexkeywordsLanguage processing
dc.subject.indexkeywordsMultitask learning
dc.subject.indexkeywordsNatural language processing
dc.subject.indexkeywordsNatural languages
dc.subject.indexkeywordsStructured Query Language
dc.subject.indexkeywordsDeep neural networks
dc.subject.wosComputer Science, Artificial Intelligence
dc.titleCreating CREATE queries with multi-task deep neural networks
dc.typeArticle
dcterms.referencesDong, Li, Language to logical form with neural attention, 1, pp. 33-43, (2016), Seq2sql Generating Structured Queries from Natural Language Using Reinforcement Learning, (2017), X Sql Reinforce Schema Representation with Context, (2019), A Comprehensive Exploration on Wikisql with Table Aware Word Contextualization, (2019), Hybrid Ranking Network for Text to Sql, (2020), Ritchie, Androutsopoulos G D, Natural Language Interfaces to Databases - an Introduction, Natural Language Engineering, 1, 1, pp. 29-81, (1995), Popescu, Ana Maria, Towards a theory of natural language interfaces to databases, International Conference on Intelligent User Interfaces, Proceedings IUI, pp. 149-157, (2003), Sujatha, B. R., Ontology Based Natural Language Interface for Relational Databases, Procedia Computer Science, 92, pp. 487-492, (2016), Yu, Tao, TypeSQL: Knowledge-based type-aware neural text-to-SQL generation, 2, pp. 588-594, (2018), Sqlnet Generating Structured Queries from Natural Language Without Reinforcement Learning, (2017)
dspace.entity.typePublication
dspace.relatedentity.typePerson
dspace.relatedentity.typePerson
local.indexed.atWOS
local.indexed.atScopus
person.identifier.orcidSakar, C. Okan/0000-0003-0639-4867
person.identifier.riddiker, nazmi/IRZ-6853-2023
person.identifier.ridŞakar, C./AAZ-6777-2020
person.identifier.scopus-author-id58130630900
person.identifier.scopus-author-id25634712900
relation.isAuthorOfPublication1eca0d75-b3b3-4af2-9727-5e733aa570e7
relation.isAuthorOfPublication1eca0d75-b3b3-4af2-9727-5e733aa570e7
relation.isAuthorOfPublication.latestForDiscovery1eca0d75-b3b3-4af2-9727-5e733aa570e7

Files