Natural Language to SQL query I have been working on developing a system "Converting Natural Language to SQL Query".

I have read the answers from the similar questions, but was not able to get the information that I was looking for.

Below is the flowchart for such system which I have got from An Algorithm to Transform Natural Language into SQL Queries for Relational Databases by Garima Singh, Arun Solanki



I have understood till part of speech tagging step. But how do I approach the remaining steps.


Do I need to train all the possible SQL queries?
Or, once part of speech tagging is done, I have to play with the words and form a SQL query?


Edit: I have successfully implemented the from step "user query" to "Part of speech tagging". 

Thank you.
If you want to tackle the problem from another perspective, with an end to end learning, such that you don't specify ahead of time this large pipeline you've mentioned earlier, all you care about is the mapping between sentences and their corresponding SQL queries. 

Tutorials:  

How to talk to your database  

Papers:  


Seq2SQL: Generating Structured Queries from
Natural Language using Reinforcement Learning  salesforce
Neural Enquirer: Learning to Query Tables in Natural Language


Dataset:  

A large annotated semantic parsing corpus for developing natural language interfaces.

Github code:   


seq2sql 
SQLNet


Also, there are commercial solutions like nlsql