European Journal of Scientific Research - EuroJournals
European Journal of Scientific Research - EuroJournals
European Journal of Scientific Research - EuroJournals
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
<strong>European</strong> <strong>Journal</strong> <strong>of</strong> <strong>Scientific</strong> <strong>Research</strong><br />
ISSN 1450-216X Vol.20 No.4 (2008), pp.844-851<br />
© Euro<strong>Journal</strong>s Publishing, Inc. 2008<br />
http://www.eurojournals.com/ejsr.htm<br />
Database Interfacing using Natural Language Processing<br />
Imran Sarwar Bajwa<br />
Department <strong>of</strong> Computer Science and IT, The Islamia University <strong>of</strong> Bahawalpur<br />
E-mail: imransbajwa@gmail.com<br />
Shahzad Mumtaz<br />
Department <strong>of</strong> Computer Science and IT, The Islamia University <strong>of</strong> Bahawalpur<br />
E-mail: shahzadz22@hotmail.com<br />
M. Shahid Naweed<br />
Department <strong>of</strong> Computer Science and IT, The Islamia University <strong>of</strong> Bahawalpur<br />
E-mail: shahid_naweed@hotmail.com<br />
Abstract<br />
To write technically correct SQL queries is a complex and skill requiring task<br />
especially for a novel user. This situation becomes more complex when a low skilled<br />
person has to use a database management system for a specific business purpose. S/He has<br />
to write some quires at his own and perform various tasks. This scenario requires more<br />
expertise and skills in terms <strong>of</strong> understanding and writing the accurate and functional<br />
queries. The task <strong>of</strong> the novel user can be simplified by providing an easy interface that is<br />
well known to that user. In order to resolve all such issues, automated s<strong>of</strong>tware is needed,<br />
which facilitates both users and s<strong>of</strong>tware engineers. User writes the requirements in simple<br />
English in a few statements and the designed system has the ability to analyze the given<br />
script. After composite analysis and mining <strong>of</strong> associated information, the designed system<br />
generates the intended SQL queries that can be run directly. The paper describes a system<br />
that can create SQL queries automatically. The designed system provides a quick and<br />
reliable way to generate SQL queries to save time and budget <strong>of</strong> both the user and system<br />
analyst.<br />
Keywords: Information extraction, Automatic Query Generation, Knowledge Retrieval,<br />
Natural language processing.<br />
1.0. Introduction<br />
Relational databases are the premier way <strong>of</strong> storing common data repositories. After storing the data<br />
contents in a database, an interfacing mechanism is required to talk with the prearranged repository <strong>of</strong><br />
the confined data. The conventional way <strong>of</strong> communicating with a database is to fist build a connection<br />
stream and then adding, deleting or updating the data contents in the database by using a standardized<br />
interfacing mechanism [1]. Simple command shells are typically used and they are <strong>of</strong>ten incorporated<br />
within every distinct database product. These command shells are typically simple filters which helps a<br />
use to log on to the database, execute particular commands and receive output. These command shells<br />
provide access to the database from the machine on which the database is actually running [2]. After<br />
hooking to a particular database a user or a programmer requires an interface and typically that