Semantic Parsing with Syntax- and Table-Aware SQL Generation
원문 초록
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%.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
Where, What, Why: Towards Explainable Driver Attention Prediction
Sigma: A dataset for text-to-code semantic parsing with statistical analysis
Diverse In-Context Example Selection After Decomposing Programs and Aligned Utterances Improves Semantic Parsing
Disambiguate First Parse Later: Generating Interpretations for Ambiguity Resolution in Semantic Parsing
LP-LM: No Hallucinations in Question Answering with Logic Programming
Ontology-Guided, Hybrid Prompt Learning for Generalization in Knowledge Graph Question Answering
토론
이 논문과 연결된 포럼 글이 아직 없습니다.