You are on page 1of 23

Project On SQL QUERY PROCESSOR USING NLP

Name:Prasanna Ballal Roll No.: 1307

Company Profile

Company Profile
Name: Omniscient Softwares Pvt. Ltd. Address: Omniscient Software Pvt. Ltd., 501 Business Avenue, above Cosmos Bank, Lane No. 6, off. North Main Road, Koregaon Park, Pune411001, India. Omniscient is a software services company with deep domain and technology experience in the Financial Technology business. Its engagements involve high-availability enterprise class applications for some of the largest Global Financial Institutions. Omniscient has been a pioneer at adopting some of the leading Rich UI Development (RUI) Frameworks and Technologies like ExtJS, GWT, Flex, and JSP across various product re-engineering projects. Our primary experience has been in replacing the legacy-UI layer with a contemporary Rich-UI layer built on Web 2.0 technologies and continuing to leverage on the server-side business logic assets of the application.

Need for the system

Need for the system


The development of system is required to ease the naive user to search a database by using a natural language such as English. To search a database a user has to learn the SQL which is sometimes difficult for the end user . To reduce the efforts of the end user to query a database.

Scope of work

Scope of work
The scope of the proposed system is as follows: 1) To work with any RDBMS one should know the syntax of the commands of that particular database software (Microsoft SQL, Oracle, etc.). 2) Here the Natural language processing is done on English i.e. the input statements have to be in English. 3) Input from the user is taken in the form of Questions like wh- form like what, who, where.

Operating Environment

Operating Environment
Software Requirements:
1. 2. 3. 4. JDK 1.5 or above IDE for the development of Java Code Operating system : Windows XP or above Database SQL SERVER 2000 or ACCESS

Operating Environment
Hardware Requirements:
1. 2. 3. 4. 1 GB Hard Disk space 512 MB RAM 1GHz or above processor VGA Display Adapter with higher resolution

Technology Used

Technology Used
J2SE (Java 2 Standard Edition) is used for the development of the project.

Serialized Objects / Serialization - Database in Java


Project database needs are handled in java. 1. First step is to use data structures like Vectors and Lists. These come under Java Collections API

Technology Used
E.g. a class Student to hold all the student information. Now these classes need to be pre-compiled and called within Java application as libraries. This is called as a Java Class Library C. Now class objects cannot be saved to hard drive directly. We need to convert these objects to bytes so that they can be saved to hard drive. To do this we must use a concept called as Serialization. Basically it is a concept where in objects are converted to byte streams so that they can be saved to hard drive or sent via internet and vice versa. The reverse process is called as deSerialization.

D. Finally to save these bytes to hard drive or to send them via network we need Java I/O.

Introduction To System

Introduction To System
Keword Management: This phase contains declaring the notations used by the end user for a particular SQL term.

Example 1 : SQL term: select can have the following notations used by the user: 1)Show 2)Give 3)Display 4)provide and many more.

Introduction To System
Example 2: SQL Term: < (less than) can have the following notations : 1)less 2)lessthan 3)less than 4)lesser 5)lower and many more

The application becomes more and more efficient as we manage the more and more keywords and assign the user notations to them.

Introduction To System
Alias Management: This phase contains declaring the alias names used by the user for the tables in the database. Example 1: Database Table Name: Employee user can use following notations for this: 1)emp 2)emps 3)employis(spelling mistake)

Introduction To System
Example 2: Database Table Name: Customer user can use the following notations for this: 1)cust 2)customar 3)custmer The application becomes more and more efficient as we manage the more and more alias for the user notations.

Introduction To System
For the system to be more efficient the administrator of the system has to manage the large number of keywords and the alias used for the tables by the user. As the system is used more and more the administrator can add more and more keywords and alias so the system becomes more robust and can generate result for the more general queries of the user.

Diagrams
1. 2. 3. Algorithm Data Flow Diagram USE case diagram

Algorithm

DFD Level 0
USER LOGIN DATA SQL QUERY

QUERY PROCESSOR

QUERY IN NATURAL LANGUAGE

DATABASE RESULT

Thank You

You might also like