International Journal of Computer Applications |
Foundation of Computer Science (FCS), NY, USA |
Volume 134 - Number 11 |
Year of Publication: 2016 |
Authors: B. Sujatha, S. Viswanadha Raju |
10.5120/ijca2016908176 |
B. Sujatha, S. Viswanadha Raju . Natural Language Query Parser using First Order Logic for Querying Relational Databases. International Journal of Computer Applications. 134, 11 ( January 2016), 43-48. DOI=10.5120/ijca2016908176
Relational database management systems are mostly used for effective representation and retrieval of data. For the user, it is hard to learn the database interface language to deal with various operations on databases. Hence there is a need to construct a bridge between natural language query and database understandable query which is a major challenge. In this paper, we have proposed a Natural Language Parser for Natural Language Interface to customer database. The parser converts the Natural Language query into First order Logic and then the First order logic query is converted into structured query. This paper also addresses the word sense disambiguation problem using ontologies and n-grams. The lexical meaning of the natural language query can be captured with n contiguous characters or words of the query. The proposed system is able to handle extraction, insertion, deletion and updation queries. It is also able to process join, conditional, single and multiple column retrieval queries. The performance of the system is measured using precision, recall and F-measure. The results are progressive.