Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
119 tokens/sec
GPT-4o
56 tokens/sec
Gemini 2.5 Pro Pro
43 tokens/sec
o3 Pro
6 tokens/sec
GPT-4.1 Pro
47 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Semantic Parsing with Syntax- and Table-Aware SQL Generation (1804.08338v1)

Published 23 Apr 2018 in cs.CL

Abstract: We present a generative model to map natural language questions into SQL queries. Existing neural network based approaches typically generate a SQL query word-by-word, however, a large portion of the generated results are incorrect or not executable due to the mismatch between question words and table contents. Our approach addresses this problem by considering the structure of table and the syntax of SQL language. The quality of the generated SQL query is significantly improved through (1) learning to replicate content from column names, cells or SQL keywords; and (2) improving the generation of WHERE clause by leveraging the column-cell relation. Experiments are conducted on WikiSQL, a recently released dataset with the largest question-SQL pairs. Our approach significantly improves the state-of-the-art execution accuracy from 69.0% to 74.4%.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (9)
  1. Yibo Sun (12 papers)
  2. Duyu Tang (65 papers)
  3. Nan Duan (172 papers)
  4. Jianshu Ji (4 papers)
  5. Guihong Cao (9 papers)
  6. Xiaocheng Feng (54 papers)
  7. Bing Qin (186 papers)
  8. Ting Liu (329 papers)
  9. Ming Zhou (182 papers)
Citations (74)

Summary

We haven't generated a summary for this paper yet.