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".