swMATH ID: 40460
Software Authors: Yaghmazadeh, N.; Wang, Y.; Dillig, I.; Dillig, T.
Description: SQLizer: query synthesis from natural language. This paper presents a new technique for automatically synthesizing SQL queries from natural language (NL). At the core of our technique is a new NL-based program synthesis methodology that combines semantic parsing techniques from the NLP community with type-directed program synthesis and automated program repair. Starting with a program sketch obtained using standard parsing techniques, our approach involves an iterative refinement loop that alternates between probabilistic type inhabitation and automated sketch repair. We use the proposed idea to build an end-to-end system called SQLIZER that can synthesize SQL queries from natural language. Our method is fully automated, works for any database without requiring additional customization, and does not require users to know the underlying database schema. We evaluate our approach on over 450 natural language queries concerning three different databases, namely MAS, IMDB, and YELP. Our experiments show that the desired query is ranked within the top 5 candidates in close to 90
Homepage: https://dl.acm.org/doi/10.1145/3133887
Related Software: RobustFill; aplore3; Prophet; Python; NLTK; PyGGI; Gin; SpreadsheetCoder; DeepCoder; GenProg; PonyGE2
Cited in: 2 Documents

Citations by Year