SQL CHATBOT USING CONTEXT FREE GRAMMER

Authors

  • Kondapalli Krishna Author
  • CH. Sai Kumar Author
  • C. Pranavi Reddy Author
  • CH. Mahendra Sai Author
  • A. Sai Kumar Author

Keywords:

SQL query, clauses, deep learning, algorithms, CFG approach, neural networks, semantic analysis

Abstract

we derive the semantics of a given English query and convert it into its equivalent SQL query. Instead of using neural networks for semantic analysis of English queries, we opt for a Context Free Grammar approach. Most neural network based systems can handle only one semantic at a time, whereas, because of the flexibility offered by our CFG approach, our system manages to handle simultaneous usage of conjunctive, disjunctive, and negative semantics. It also handles complex statements comprising of main as well as dependent clauses. In addition, the system also takes into account aggregate functions and constructs the required GROUP-BY and HAVING clauses. We describe how the system analyzes English queries by understanding the role that each part-of-speech has to play in constructing SQL queries. Numerous examples demonstrate the effectiveness of our approach where state-of-the-art techniques relying on deep learning algorithms fail to deliver

Downloads

Download data is not yet available.

Downloads

Published

20-01-2024

How to Cite

SQL CHATBOT USING CONTEXT FREE GRAMMER. (2024). International Journal of Information Technology and Computer Engineering, 12(1), 566-573. https://ijitce.org/index.php/ijitce/article/view/588