Click here to Skip to main content
15,890,579 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I want to convert Natural Language questions to SQL queries using opennlp Java library.

i.e. (Who won women figure skating in Sochi?) should be converted to (select name from winners where event='skating_woman'). Any body know which classes will be useful and how to achieve this?
Posted

1 solution

"Any body know which classes will be useful"
Pretty much all of them.

"how to achieve this?"
Start by working for Google, or Bing and expect to be promoted big time if you manage it...

There has been a huge amount of time and money spent on this problem: Google[^] and I'm not convince there is a "good" solution yet - all the ones I've seen are pretty language specific...

This is not an easy task, and there is no easy solution - or we wouldn't have to use SQL queries at all...
 
Share this answer
 
Comments
nevil_119 10-Apr-14 6:01am    
I have specific database and data dictionary. Tables and its Data is also know. Can it make the task easy?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900