@InProceedings{hosu-EtAl:2018:C18-1,
  author    = {Hosu, Ionel Alexandru  and  Iacob, Radu Cristian Alexandru  and  Brad, Florin  and  Ruseti, Stefan  and  Rebedea, Traian},
  title     = {Natural Language Interface for Databases Using a Dual-Encoder Model},
  booktitle = {Proceedings of the 27th International Conference on Computational Linguistics},
  month     = {August},
  year      = {2018},
  address   = {Santa Fe, New Mexico, USA},
  publisher = {Association for Computational Linguistics},
  pages     = {514--524},
  abstract  = {We propose a sketch-based two-step neural model for generating structured queries (SQL) based on a user's request in natural language. The sketch is obtained by using placeholders for specific entities in the SQL query, such as column names, table names, aliases and variables, in a process similar to semantic parsing. The first step is to apply a sequence-to-sequence (SEQ2SEQ) model to determine the most probable SQL sketch based on the request in natural language. Then, a second network designed as a dual-encoder SEQ2SEQ model using both the text query and the previously obtained sketch is employed to generate the final SQL query. Our approach shows improvements over previous approaches on two recent large datasets (WikiSQL and SENLIDB) suitable for data-driven solutions for natural language interfaces for databases.},
  url       = {http://www.aclweb.org/anthology/C18-1043}
}

