SlideShare a Scribd company logo
1 of 5
Download to read offline
ISSN: 2278 – 1323
International Journal of Advanced Research in Computer Engineering & Technology (IJARCET)
Volume 2, No 5, May 2013
1861
www.ijarcet.org
Fuzzy RDBMS Design: SQL Add-On
Subita Kumari, Sonia
Abstract:
In this paper we are applying classical as well as
fuzzy queries on the database. A Relational Data
Base Management System (RDBMS) is a software
system that provides a convenient and effective
method of defining, storing and retrieving precise
information stored in the database. But sometimes
users need to use vague or imprecise or fuzzy terms
in the query. Our work gives the users the
flexibility to query the database in natural
language using FRDB, whichpermits to have a
range of answers in order to offer to the user
all intermediate variations. We also show that
fuzzy query on classical database enhance the
expressiveness of human expression, with nearly no
effect on searching time. Fuzzy query interpreter
helps to convert fuzzy query into SQL query
without need to learn a new query language. So
automatic mapping of existingrelational database
can be done with FRDB, which in turn saves time
and increase the efficiency of query.
Index Terms— FRDBMS, Fuzzy Degree, SQL,
Membership Function
I.INTRODUCTION
Databases hold data that represent properties of
real-world objects. Fuzzy relational database is
extension of relational database which include
fuzzy conditions or fuzzy predicates under
shapes of linguistic expressions. So Fuzzy
Relational Data Base Management System
(FRDBMS) uses flexible queries that allows the
user to have a range of answers (each one with
its membership degree) offering all intermediate
variations between the completely satisfactory
and dissatisfactory values. [2]
FRDBMS is considered first of all a database. It
must be made up of core of database which
permits to execute the classical operations of the
DBMS and to store, manipulate the fuzzy
attributes [1]. We can add flexibility in database
in many forms. The simplest one is to add a
fuzzy membership degree to each record (an
attribute in range [0, 1]). Fuzzy query being a
querying tool, it improves the meaning of the
query as well as extracts additional valuable
information. [11] Linguistic expressions and
degrees of truth are being used to select the
wanted scenario for the user. These linguistic
expressions have logical meaning for user and
define a data selection process in the natural
language. [8]
II.BASIC CONCEPTS
1) Database: A classical database is a
structured collection of information
(record or data) stored in a computer.
2) Fuzzy Database: A fuzzy database is a
database which is able to deal with
uncertain or incomplete information
using fuzzy logic.
3) Traditional logic: It can only deal with
information that is totally true or totally
false; it is not possible to handle
information inherent to a problem that
is imprecise or incomplete but this type
of information contains data that would
allow a better solution to the problem.
A characteristic function assigns values
of true or false to each element of the
set in traditional logic.
4) Fuzzy Logic: Fuzzy logic is derived
from fuzzy set theory by Zadeh (1965)
dealing with reasoning that is
approximate rather than precisely
deduced from classical predicate logic.
It can be thought of as the application
side of fuzzy set theory dealing with
well thought out real world expert
values for a complex problem (Klir
1997). A membership function
ISSN: 2278 – 1323
International Journal of Advanced Research in Computer Engineering & Technology (IJARCET)
Volume 2, No 5, May 2013
1862
www.ijarcet.org
assigns degree of membership to each
element of the set in fuzzy logic.
5) FRDB: It is an extension of the
relational database. This extension
introduces fuzzy predicates under
shapes of linguistic expressions that, at
the time of a flexible querying, permits
to have a range of answers (each one
with a membership degree) in order to
offer to the user all intermediate
variations between the completely
satisfactory answers and those
completely dissatisfactory.
6) FRDBMS: It is an extension of the
relational DBMS in order to treat, store
and interrogate imprecise or fuzzy data.
7) Fuzzy Degrees: Fuzzy attributes, whose
domain is in the interval [0, 1], although
other values over this unit interval (such
as possibility distributions) are also
possible, which may be related to
specific linguistic labels (like “a lot,”
“normal,” etc.). So to keep it simple,
usually only degrees in the interval [0,
1] are used.
The important meanings of degrees
used are: fulfillment degree, uncertainty
degree, Possibility degree and
Importance degree.
8) Membership Function: Fuzzy
membership function is being used to
express fuzziness in the query. Zadeh
proposed a series of membership
functions that could be classified into
two groups: those made up of straight
lines, or “linear,” and Gaussian forms,
or “curved.” [6]
III.FRDBMS ARCHITECTURE
An FRDBMS is a database which provides
many functions such as description of data
(DDL-Data Description Language),
manipulation of data (DML-Data
Manipulation Language), [5] integrity
maintenance of FRDB using integrity rules,
confidentiality by verifying access rights,
management of competition of access,
security in case of breakdown and user help.
FRDBMS is capable of representing fuzzy
information in many shapes and offers an
adequate setting for storing and representing
the information. [1]
A. ARCHITECTURE:
The new architecture of FRDBMS is based
on GEFRED model [7] which was first
proposed by Bosc and then by Medina et al.
FSQL is being used as language of
description and manipulation of data.
FRDBMS can model RDB as well as
FRDB. A software layer transforms the
command written by user in FSQL language
in their equivalent written in SQL.[3]
The new architecture of FRDBMS is shown
in figure 1.
[1] [9]
B.PRINCIPLE OF FUNCTIONING:
The principle of functioning is as follows:
Begin
Read each instruction in the SQL query:
Copy it in a file (SQLQuery.sql); if it
contains a classic attribute
Else
Divide the Fuzzy attribute query in two
parts:
a) Classic attributes: Copy the part
of SQL with classic attributes to SQLQuery.sql.
b) Translation with FMB: A script
will translate each fuzzy attribute by compiling it
with the Fuzzy Meta Data Knowledge Base and
the output containing SQL equivalent of the fuzzy
query will be written in the file (FMBOutput.sql).
END. [1] [5]
ISSN: 2278 – 1323
International Journal of Advanced Research in Computer Engineering & Technology (IJARCET)
Volume 2, No 5, May 2013
1863
www.ijarcet.org
As a result we will get two files one containing DDL
part of DB and second containing modification being
done by Fuzzy Metadata Knowledge Base (FMB).
IV. COMPARISON OF SQL QUERY AND FUZZY
QUERY
The comparison of SQL Query and Fuzzy Query
over data base is being explained with the help of a
simple example. Schema of relation used for this
purpose is as follows:
Student_schema= (Sid, Marks, Branch) where
Marks is thefuzzy attributeand others are crisp. Sid
is a primary key of the relation.An example of a
sample student relation is shown in Table 1. [10]
Table 1: Student Relation
Sid Marks Branch
1001 30 CSE
1002 27 CSE
1003 78 IT
1004 97 IT
1005 10 ECE
1006 52 ECE
1007 82 CIVIL
1008 24 CIVIL
A. SQL QUERY:
Give details of students whose marks are less than
or equal to 30.
Corresponding SQL Query is as below -
Select * from Student
Where Marks<=30
[8]
The result of SQL query is shown in Table II.
Sid Marks Branch
1001 30 CSE
1002 27 CSE
1005 10 ECE
1008 24 CIVIL
B.Fuzzy Attribute And Membership Functions
The fuzzy query approach is based on the fuzzy
Generalized Logical Condition (GLC). Fuzzy
membership functions are a tool to express fuzzy
attributes. We use four linguistic terms over fuzzy
attribute Marks. They are “poor”, “average”,
“good”, and “excellent”. Range of these terms is:
poor (0-30), average (20-60), good (50-75) and
excellent (above 75). Fuzzy membership functions
characterizing Marks are shown in figure 2.
The membership function over fuzzy attribute Marks
is shown below: [4] [10]
1.Degree of membership for poor performer:
If (x>0 & x<=20) then degree of membership=1.
Else (20<x<=30) then degree of membership =
(30-x)/10.
2. Degree of membership for average performer:
If (x<20 & x>=60) then degree of membership=0.
Else If (20<x<=30) then degree of membership=(x-
20)/10.
Else If (30<x<=50) then degree of membership=1.
Else (50<x<=60) then degree of membership=
(60-x)/10.
3. Degree of membership for good performer:
If (x<=50 & x>75) then degree of membership=0.
Else If (50<x<=60) then degree of
membership=(x-50)/10.
Else If (60<x<=70) then degree of membership=1.
Else (70<x<=75) then degree of membership= (75-
x)/5.
4. Degree of membership for excellent performer:
If (x<70) then degree of membership=0.
Else If (70<x<=80) then degree of
membership=(x-70)/10.
If (80<x<=100) then degree of membership=1.
ISSN: 2278 – 1323
International Journal of Advanced Research in Computer Engineering & Technology (IJARCET)
Volume 2, No 5, May 2013
1864
www.ijarcet.org
Figure 2 Fuzzy membership functions characterizing attribute Marks
C.Fuzzy Query
I. Give details of students who are poor
performers:
Corresponding fuzzy SQL Query is as below -
Select * from Student
Where Marks FEQ $poor
This query will give only those tuples whose degree
of membership function for poor performers is
greater than 0. The result of this Fuzzy query is
shown in Table III.
TABLE III: Output of fuzzy Query (poor performer)
.
Sid Marks Branch Degree of
Membership function
1002 27 CSE 0.3
1005 10 ECE 1
1008 24 CIVIL 0.6
It is easier to say poor performer than to tell marks of
each student who scored less than 30. Moreover from
result of query user is able to know to what extent a
student is poor. A student having membership degree
0.6 is poorer performer than one having 0.3
membership degree. So, Fuzzy queries are more
expressive than SQL queries as these help in
representation of natural language. Fuzzy query
further enhance the expressiveness by using the
threshold value of degree as explained in the example
below.
II. Give details of students who are poor
performers with threshold degree greater
than 0.4.
Corresponding fuzzy SQL Query is as below -
Select * from Student
Where Marks
FEQ $poor THOLD 0.4
This query will give those tuples whose membership
degree is greater than 0.4 and who are poor
performers. The result is shown in Table IV.
TABLE IV: Output of fuzzy Query (threshold greater than 0.4)
Sid Marks Branch Degree of
Membership function
1005 10 ECE 1
1008 24 CIVIL 0.6
ISSN: 2278 – 1323
International Journal of Advanced Research in Computer Engineering & Technology (IJARCET)
Volume 2, No 5, May 2013
1865
www.ijarcet.org
V.CONCLUSION
When users work with usual software tools they have
to change their many valued logical thinking
(approximate reasoning) into the two-valued
computer logic. The SQL requires the crisp
specification of a query criterion, while for users a
query is best described in terms of a natural (or quasi)
natural language with ambiguities and uncertainties.
In this paper, the user is being given a powerful and
easy to use data mining tool which allows him to
query data from databases by using linguistic
expressions in order to improve the quality of
selection process.A fuzzy query interpreter is
developed to transform fuzzy queries to the SQL
ones. Another advantage is that the user does not
need to learn a new query language.
The further studies done in this area would be
continued in following directions:
1) The web application with a fuzzy module
for data usage is a way of improving fuzzy
query approach.
2) The automatic mapping of existing
relational DB to FRDB may be
implemented.
REFERENCES
[1] AmelGrissa T. and Mohamed Hassine, “New
Architecture of Fuzzy Database Management
Systems,” The International Arab Journal of
Information Technology, Vol. 6, No. 3, July 2009
213
[2] Ben Hassine A., GrissaA.,Galindo J. and Ounelli
H., “ IGI Global: How to achieve Fuzzy Relational
Databases Managing Fuzzy Data and Metadata” 2008
[3] “FRDBMS for Fuzzy Querying based on
GEFRED Model” IJCA Proceedings on National
Workshop-Cum-Conference on (RTMC2011), 2012.
[4] Galindo J., Urrutia A., and Piattini M., Fuzzy
Databases: Modeling, Design and Implementation,
Idea Group Publishing, Hershey, 2005.
[5] Grissa A., Ben Hassine A., and Ounelli H.,
“Extended_FSQL_Server: A Server for the
Description and the Manipulation of FRDB,” in
Proceedings of the 4th International Multi
Conference on Computer Science and Information
Technology (CSIT), Jordan, pp. 454- 464, 2006.
[6]Jose Galindo, “Handbook of research on fuzzy
information processing in databases” IGI Global,
2008.
[7] Medina M., Pons O., and Vila A., “GEFRED: A
Generalized Model of Fuzzy Relational Data Bases”,
Computer Journal of Information Sciences, vol. 76,
no. 1, pp. 87-109, 1994.
[8] MiroslavHudec, “An Approach to Fuzzy
Database Querying, Analysis and Realisation”, UDC
004.4’2, DOI: 10.2298/csis0902127H, 2009.
[9] P Gupta, “FUZZY QUERYING IN
TRADITIONAL DATABASE,” International
Journal of Artificial Intelligence and Knowledge
Discovery, Vol. 1, No.4, 2011.
[10] S.K.Mondal, J.sen, Md.R.Islam and
Md.S.Hossian, “Performance comparison of fuzzy
queries on fuzzy database and classical database,”
International journal of Computer Application Issue
3, Volume1 (February 2013)
[11]S.Zadrozny and guy de Tre, “IGI Global: An
Overview of Fuzzy Approaches to Flexible Database
Querying”,sep 2011.
ABOUT AUTHOR
Ms. Subita is currently working as a Lecturer in
Govt. Polytechnic Sanghi, Haryana. She has
completed her Master of Technology in Computer
Science and Engineering at
MaharishiDayanandUniversity, Rohtak (Haryana) in
2011. Her areas of interest are Soft Computing, Data
Bases and Neural Networks.
Miss Sonia is pursuing Master ofTechnology in
Computer Science and Engineering at Maharishi
Dayanand University, Rohtak (Haryana). Her areas
of interest are Soft computing, Software Engineering
and Network security. She is currently doing her
dissertation work at Maharishi Dayanand University,
Rohtak.

More Related Content

What's hot

IRJET- Personality Recognition using Multi-Label Classification
IRJET- Personality Recognition using Multi-Label ClassificationIRJET- Personality Recognition using Multi-Label Classification
IRJET- Personality Recognition using Multi-Label ClassificationIRJET Journal
 
Dbms interview questions
Dbms interview questionsDbms interview questions
Dbms interview questionsambika93
 
DBMS Campus crack Question Prepared by Randhir Kumar
DBMS Campus crack Question Prepared by Randhir KumarDBMS Campus crack Question Prepared by Randhir Kumar
DBMS Campus crack Question Prepared by Randhir KumarRandhir Chouhan
 
Object Oriented Dbms
Object Oriented DbmsObject Oriented Dbms
Object Oriented Dbmsmaryeem
 
The Fuzzy Logical Databases
The Fuzzy Logical DatabasesThe Fuzzy Logical Databases
The Fuzzy Logical DatabasesAlaaZ
 
Object database standards, languages and design
Object database standards, languages and designObject database standards, languages and design
Object database standards, languages and designDabbal Singh Mahara
 
ADBMS Object and Object Relational Databases
ADBMS  Object  and Object Relational Databases ADBMS  Object  and Object Relational Databases
ADBMS Object and Object Relational Databases Jayanthi Kannan MK
 
BIDIRECTIONAL LONG SHORT-TERM MEMORY (BILSTM)WITH CONDITIONAL RANDOM FIELDS (...
BIDIRECTIONAL LONG SHORT-TERM MEMORY (BILSTM)WITH CONDITIONAL RANDOM FIELDS (...BIDIRECTIONAL LONG SHORT-TERM MEMORY (BILSTM)WITH CONDITIONAL RANDOM FIELDS (...
BIDIRECTIONAL LONG SHORT-TERM MEMORY (BILSTM)WITH CONDITIONAL RANDOM FIELDS (...ijnlc
 
Pattern based approach for Natural Language Interface to Database
Pattern based approach for Natural Language Interface to DatabasePattern based approach for Natural Language Interface to Database
Pattern based approach for Natural Language Interface to DatabaseIJERA Editor
 
Object oriented database concepts
Object oriented database conceptsObject oriented database concepts
Object oriented database conceptsTemesgenthanks
 
856200902 a06
856200902 a06856200902 a06
856200902 a06amosalade
 
IRJET - Automated Essay Grading System using Deep Learning
IRJET -  	  Automated Essay Grading System using Deep LearningIRJET -  	  Automated Essay Grading System using Deep Learning
IRJET - Automated Essay Grading System using Deep LearningIRJET Journal
 
Fuzzy Logic and Biometrics Traits Evaluation_AJOCICT
Fuzzy Logic and Biometrics Traits Evaluation_AJOCICTFuzzy Logic and Biometrics Traits Evaluation_AJOCICT
Fuzzy Logic and Biometrics Traits Evaluation_AJOCICTSalahdeen Nasiru Kehinde
 

What's hot (17)

D017422528
D017422528D017422528
D017422528
 
IRJET- Personality Recognition using Multi-Label Classification
IRJET- Personality Recognition using Multi-Label ClassificationIRJET- Personality Recognition using Multi-Label Classification
IRJET- Personality Recognition using Multi-Label Classification
 
Dbms interview questions
Dbms interview questionsDbms interview questions
Dbms interview questions
 
DBMS Campus crack Question Prepared by Randhir Kumar
DBMS Campus crack Question Prepared by Randhir KumarDBMS Campus crack Question Prepared by Randhir Kumar
DBMS Campus crack Question Prepared by Randhir Kumar
 
Object Oriented Dbms
Object Oriented DbmsObject Oriented Dbms
Object Oriented Dbms
 
The Fuzzy Logical Databases
The Fuzzy Logical DatabasesThe Fuzzy Logical Databases
The Fuzzy Logical Databases
 
Object database standards, languages and design
Object database standards, languages and designObject database standards, languages and design
Object database standards, languages and design
 
ADBMS Object and Object Relational Databases
ADBMS  Object  and Object Relational Databases ADBMS  Object  and Object Relational Databases
ADBMS Object and Object Relational Databases
 
BIDIRECTIONAL LONG SHORT-TERM MEMORY (BILSTM)WITH CONDITIONAL RANDOM FIELDS (...
BIDIRECTIONAL LONG SHORT-TERM MEMORY (BILSTM)WITH CONDITIONAL RANDOM FIELDS (...BIDIRECTIONAL LONG SHORT-TERM MEMORY (BILSTM)WITH CONDITIONAL RANDOM FIELDS (...
BIDIRECTIONAL LONG SHORT-TERM MEMORY (BILSTM)WITH CONDITIONAL RANDOM FIELDS (...
 
Pattern based approach for Natural Language Interface to Database
Pattern based approach for Natural Language Interface to DatabasePattern based approach for Natural Language Interface to Database
Pattern based approach for Natural Language Interface to Database
 
Object oriented database concepts
Object oriented database conceptsObject oriented database concepts
Object oriented database concepts
 
Oodbms ch 20
Oodbms ch 20Oodbms ch 20
Oodbms ch 20
 
Dbms question (3)
Dbms question (3)Dbms question (3)
Dbms question (3)
 
856200902 a06
856200902 a06856200902 a06
856200902 a06
 
IRJET - Automated Essay Grading System using Deep Learning
IRJET -  	  Automated Essay Grading System using Deep LearningIRJET -  	  Automated Essay Grading System using Deep Learning
IRJET - Automated Essay Grading System using Deep Learning
 
Oracle fundamentals and sql
Oracle fundamentals and sqlOracle fundamentals and sql
Oracle fundamentals and sql
 
Fuzzy Logic and Biometrics Traits Evaluation_AJOCICT
Fuzzy Logic and Biometrics Traits Evaluation_AJOCICTFuzzy Logic and Biometrics Traits Evaluation_AJOCICT
Fuzzy Logic and Biometrics Traits Evaluation_AJOCICT
 

Similar to 1861 1865

database concepts pdf :BEMIT
database concepts pdf :BEMITdatabase concepts pdf :BEMIT
database concepts pdf :BEMITUsman Mchinja
 
Intelligent query converter a domain independent interfacefor conversion
Intelligent query converter a domain independent interfacefor conversionIntelligent query converter a domain independent interfacefor conversion
Intelligent query converter a domain independent interfacefor conversionIAEME Publication
 
Object-Oriented Database Model For Effective Mining Of Advanced Engineering M...
Object-Oriented Database Model For Effective Mining Of Advanced Engineering M...Object-Oriented Database Model For Effective Mining Of Advanced Engineering M...
Object-Oriented Database Model For Effective Mining Of Advanced Engineering M...cscpconf
 
Database management system
Database management systemDatabase management system
Database management systemedudivya
 
Database management system
Database management systemDatabase management system
Database management systemedudivya
 
WHAT IS A DBMS? EXPLAIN DIFFERENT MYSQL COMMANDS AND CONSTRAINTS OF THE SAME.
WHAT IS A DBMS? EXPLAIN DIFFERENT MYSQL COMMANDS AND  CONSTRAINTS OF THE SAME.WHAT IS A DBMS? EXPLAIN DIFFERENT MYSQL COMMANDS AND  CONSTRAINTS OF THE SAME.
WHAT IS A DBMS? EXPLAIN DIFFERENT MYSQL COMMANDS AND CONSTRAINTS OF THE SAME.`Shweta Bhavsar
 
Mi0034 – database management system
Mi0034 – database management systemMi0034 – database management system
Mi0034 – database management systemsmumbahelp
 
Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)IJERD Editor
 
INTELLIGENT-MULTIDIMENSIONAL-DATABASE-INTERFACE
INTELLIGENT-MULTIDIMENSIONAL-DATABASE-INTERFACEINTELLIGENT-MULTIDIMENSIONAL-DATABASE-INTERFACE
INTELLIGENT-MULTIDIMENSIONAL-DATABASE-INTERFACEMohamed Reda
 
dbms final.pdf
dbms final.pdfdbms final.pdf
dbms final.pdfRaKesh3868
 
IRJET- An Efficient Way to Querying XML Database using Natural Language
IRJET-  	  An Efficient Way to Querying XML Database using Natural LanguageIRJET-  	  An Efficient Way to Querying XML Database using Natural Language
IRJET- An Efficient Way to Querying XML Database using Natural LanguageIRJET Journal
 
P209 leithiser-relationaldb-formal-specifications
P209 leithiser-relationaldb-formal-specificationsP209 leithiser-relationaldb-formal-specifications
P209 leithiser-relationaldb-formal-specificationsBob Leithiser
 

Similar to 1861 1865 (20)

Bt0066 dbms
Bt0066 dbmsBt0066 dbms
Bt0066 dbms
 
database concepts pdf :BEMIT
database concepts pdf :BEMITdatabase concepts pdf :BEMIT
database concepts pdf :BEMIT
 
Intelligent query converter a domain independent interfacefor conversion
Intelligent query converter a domain independent interfacefor conversionIntelligent query converter a domain independent interfacefor conversion
Intelligent query converter a domain independent interfacefor conversion
 
Object-Oriented Database Model For Effective Mining Of Advanced Engineering M...
Object-Oriented Database Model For Effective Mining Of Advanced Engineering M...Object-Oriented Database Model For Effective Mining Of Advanced Engineering M...
Object-Oriented Database Model For Effective Mining Of Advanced Engineering M...
 
Database management system
Database management systemDatabase management system
Database management system
 
Database management system
Database management systemDatabase management system
Database management system
 
WHAT IS A DBMS? EXPLAIN DIFFERENT MYSQL COMMANDS AND CONSTRAINTS OF THE SAME.
WHAT IS A DBMS? EXPLAIN DIFFERENT MYSQL COMMANDS AND  CONSTRAINTS OF THE SAME.WHAT IS A DBMS? EXPLAIN DIFFERENT MYSQL COMMANDS AND  CONSTRAINTS OF THE SAME.
WHAT IS A DBMS? EXPLAIN DIFFERENT MYSQL COMMANDS AND CONSTRAINTS OF THE SAME.
 
Mi0034 – database management system
Mi0034 – database management systemMi0034 – database management system
Mi0034 – database management system
 
Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)
 
INTELLIGENT-MULTIDIMENSIONAL-DATABASE-INTERFACE
INTELLIGENT-MULTIDIMENSIONAL-DATABASE-INTERFACEINTELLIGENT-MULTIDIMENSIONAL-DATABASE-INTERFACE
INTELLIGENT-MULTIDIMENSIONAL-DATABASE-INTERFACE
 
dbms final.pdf
dbms final.pdfdbms final.pdf
dbms final.pdf
 
D 17
D 17D 17
D 17
 
IRJET- An Efficient Way to Querying XML Database using Natural Language
IRJET-  	  An Efficient Way to Querying XML Database using Natural LanguageIRJET-  	  An Efficient Way to Querying XML Database using Natural Language
IRJET- An Efficient Way to Querying XML Database using Natural Language
 
P209 leithiser-relationaldb-formal-specifications
P209 leithiser-relationaldb-formal-specificationsP209 leithiser-relationaldb-formal-specifications
P209 leithiser-relationaldb-formal-specifications
 
27 fcs157al2
27 fcs157al227 fcs157al2
27 fcs157al2
 
1.introduction qb
1.introduction qb1.introduction qb
1.introduction qb
 
ICT L5+.pptx
ICT L5+.pptxICT L5+.pptx
ICT L5+.pptx
 
DBMS
DBMSDBMS
DBMS
 
DBMS.pptx
DBMS.pptxDBMS.pptx
DBMS.pptx
 
Cal Essay
Cal EssayCal Essay
Cal Essay
 

More from Editor IJARCET

Electrically small antennas: The art of miniaturization
Electrically small antennas: The art of miniaturizationElectrically small antennas: The art of miniaturization
Electrically small antennas: The art of miniaturizationEditor IJARCET
 
Volume 2-issue-6-2205-2207
Volume 2-issue-6-2205-2207Volume 2-issue-6-2205-2207
Volume 2-issue-6-2205-2207Editor IJARCET
 
Volume 2-issue-6-2195-2199
Volume 2-issue-6-2195-2199Volume 2-issue-6-2195-2199
Volume 2-issue-6-2195-2199Editor IJARCET
 
Volume 2-issue-6-2200-2204
Volume 2-issue-6-2200-2204Volume 2-issue-6-2200-2204
Volume 2-issue-6-2200-2204Editor IJARCET
 
Volume 2-issue-6-2190-2194
Volume 2-issue-6-2190-2194Volume 2-issue-6-2190-2194
Volume 2-issue-6-2190-2194Editor IJARCET
 
Volume 2-issue-6-2186-2189
Volume 2-issue-6-2186-2189Volume 2-issue-6-2186-2189
Volume 2-issue-6-2186-2189Editor IJARCET
 
Volume 2-issue-6-2177-2185
Volume 2-issue-6-2177-2185Volume 2-issue-6-2177-2185
Volume 2-issue-6-2177-2185Editor IJARCET
 
Volume 2-issue-6-2173-2176
Volume 2-issue-6-2173-2176Volume 2-issue-6-2173-2176
Volume 2-issue-6-2173-2176Editor IJARCET
 
Volume 2-issue-6-2165-2172
Volume 2-issue-6-2165-2172Volume 2-issue-6-2165-2172
Volume 2-issue-6-2165-2172Editor IJARCET
 
Volume 2-issue-6-2159-2164
Volume 2-issue-6-2159-2164Volume 2-issue-6-2159-2164
Volume 2-issue-6-2159-2164Editor IJARCET
 
Volume 2-issue-6-2155-2158
Volume 2-issue-6-2155-2158Volume 2-issue-6-2155-2158
Volume 2-issue-6-2155-2158Editor IJARCET
 
Volume 2-issue-6-2148-2154
Volume 2-issue-6-2148-2154Volume 2-issue-6-2148-2154
Volume 2-issue-6-2148-2154Editor IJARCET
 
Volume 2-issue-6-2143-2147
Volume 2-issue-6-2143-2147Volume 2-issue-6-2143-2147
Volume 2-issue-6-2143-2147Editor IJARCET
 
Volume 2-issue-6-2119-2124
Volume 2-issue-6-2119-2124Volume 2-issue-6-2119-2124
Volume 2-issue-6-2119-2124Editor IJARCET
 
Volume 2-issue-6-2139-2142
Volume 2-issue-6-2139-2142Volume 2-issue-6-2139-2142
Volume 2-issue-6-2139-2142Editor IJARCET
 
Volume 2-issue-6-2130-2138
Volume 2-issue-6-2130-2138Volume 2-issue-6-2130-2138
Volume 2-issue-6-2130-2138Editor IJARCET
 
Volume 2-issue-6-2125-2129
Volume 2-issue-6-2125-2129Volume 2-issue-6-2125-2129
Volume 2-issue-6-2125-2129Editor IJARCET
 
Volume 2-issue-6-2114-2118
Volume 2-issue-6-2114-2118Volume 2-issue-6-2114-2118
Volume 2-issue-6-2114-2118Editor IJARCET
 
Volume 2-issue-6-2108-2113
Volume 2-issue-6-2108-2113Volume 2-issue-6-2108-2113
Volume 2-issue-6-2108-2113Editor IJARCET
 
Volume 2-issue-6-2102-2107
Volume 2-issue-6-2102-2107Volume 2-issue-6-2102-2107
Volume 2-issue-6-2102-2107Editor IJARCET
 

More from Editor IJARCET (20)

Electrically small antennas: The art of miniaturization
Electrically small antennas: The art of miniaturizationElectrically small antennas: The art of miniaturization
Electrically small antennas: The art of miniaturization
 
Volume 2-issue-6-2205-2207
Volume 2-issue-6-2205-2207Volume 2-issue-6-2205-2207
Volume 2-issue-6-2205-2207
 
Volume 2-issue-6-2195-2199
Volume 2-issue-6-2195-2199Volume 2-issue-6-2195-2199
Volume 2-issue-6-2195-2199
 
Volume 2-issue-6-2200-2204
Volume 2-issue-6-2200-2204Volume 2-issue-6-2200-2204
Volume 2-issue-6-2200-2204
 
Volume 2-issue-6-2190-2194
Volume 2-issue-6-2190-2194Volume 2-issue-6-2190-2194
Volume 2-issue-6-2190-2194
 
Volume 2-issue-6-2186-2189
Volume 2-issue-6-2186-2189Volume 2-issue-6-2186-2189
Volume 2-issue-6-2186-2189
 
Volume 2-issue-6-2177-2185
Volume 2-issue-6-2177-2185Volume 2-issue-6-2177-2185
Volume 2-issue-6-2177-2185
 
Volume 2-issue-6-2173-2176
Volume 2-issue-6-2173-2176Volume 2-issue-6-2173-2176
Volume 2-issue-6-2173-2176
 
Volume 2-issue-6-2165-2172
Volume 2-issue-6-2165-2172Volume 2-issue-6-2165-2172
Volume 2-issue-6-2165-2172
 
Volume 2-issue-6-2159-2164
Volume 2-issue-6-2159-2164Volume 2-issue-6-2159-2164
Volume 2-issue-6-2159-2164
 
Volume 2-issue-6-2155-2158
Volume 2-issue-6-2155-2158Volume 2-issue-6-2155-2158
Volume 2-issue-6-2155-2158
 
Volume 2-issue-6-2148-2154
Volume 2-issue-6-2148-2154Volume 2-issue-6-2148-2154
Volume 2-issue-6-2148-2154
 
Volume 2-issue-6-2143-2147
Volume 2-issue-6-2143-2147Volume 2-issue-6-2143-2147
Volume 2-issue-6-2143-2147
 
Volume 2-issue-6-2119-2124
Volume 2-issue-6-2119-2124Volume 2-issue-6-2119-2124
Volume 2-issue-6-2119-2124
 
Volume 2-issue-6-2139-2142
Volume 2-issue-6-2139-2142Volume 2-issue-6-2139-2142
Volume 2-issue-6-2139-2142
 
Volume 2-issue-6-2130-2138
Volume 2-issue-6-2130-2138Volume 2-issue-6-2130-2138
Volume 2-issue-6-2130-2138
 
Volume 2-issue-6-2125-2129
Volume 2-issue-6-2125-2129Volume 2-issue-6-2125-2129
Volume 2-issue-6-2125-2129
 
Volume 2-issue-6-2114-2118
Volume 2-issue-6-2114-2118Volume 2-issue-6-2114-2118
Volume 2-issue-6-2114-2118
 
Volume 2-issue-6-2108-2113
Volume 2-issue-6-2108-2113Volume 2-issue-6-2108-2113
Volume 2-issue-6-2108-2113
 
Volume 2-issue-6-2102-2107
Volume 2-issue-6-2102-2107Volume 2-issue-6-2102-2107
Volume 2-issue-6-2102-2107
 

Recently uploaded

DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...panagenda
 
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Scott Andery
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Hiroshi SHIBATA
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesKari Kakkonen
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI AgeCprime
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 

Recently uploaded (20)

DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
 
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI Age
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 

1861 1865

  • 1. ISSN: 2278 – 1323 International Journal of Advanced Research in Computer Engineering & Technology (IJARCET) Volume 2, No 5, May 2013 1861 www.ijarcet.org Fuzzy RDBMS Design: SQL Add-On Subita Kumari, Sonia Abstract: In this paper we are applying classical as well as fuzzy queries on the database. A Relational Data Base Management System (RDBMS) is a software system that provides a convenient and effective method of defining, storing and retrieving precise information stored in the database. But sometimes users need to use vague or imprecise or fuzzy terms in the query. Our work gives the users the flexibility to query the database in natural language using FRDB, whichpermits to have a range of answers in order to offer to the user all intermediate variations. We also show that fuzzy query on classical database enhance the expressiveness of human expression, with nearly no effect on searching time. Fuzzy query interpreter helps to convert fuzzy query into SQL query without need to learn a new query language. So automatic mapping of existingrelational database can be done with FRDB, which in turn saves time and increase the efficiency of query. Index Terms— FRDBMS, Fuzzy Degree, SQL, Membership Function I.INTRODUCTION Databases hold data that represent properties of real-world objects. Fuzzy relational database is extension of relational database which include fuzzy conditions or fuzzy predicates under shapes of linguistic expressions. So Fuzzy Relational Data Base Management System (FRDBMS) uses flexible queries that allows the user to have a range of answers (each one with its membership degree) offering all intermediate variations between the completely satisfactory and dissatisfactory values. [2] FRDBMS is considered first of all a database. It must be made up of core of database which permits to execute the classical operations of the DBMS and to store, manipulate the fuzzy attributes [1]. We can add flexibility in database in many forms. The simplest one is to add a fuzzy membership degree to each record (an attribute in range [0, 1]). Fuzzy query being a querying tool, it improves the meaning of the query as well as extracts additional valuable information. [11] Linguistic expressions and degrees of truth are being used to select the wanted scenario for the user. These linguistic expressions have logical meaning for user and define a data selection process in the natural language. [8] II.BASIC CONCEPTS 1) Database: A classical database is a structured collection of information (record or data) stored in a computer. 2) Fuzzy Database: A fuzzy database is a database which is able to deal with uncertain or incomplete information using fuzzy logic. 3) Traditional logic: It can only deal with information that is totally true or totally false; it is not possible to handle information inherent to a problem that is imprecise or incomplete but this type of information contains data that would allow a better solution to the problem. A characteristic function assigns values of true or false to each element of the set in traditional logic. 4) Fuzzy Logic: Fuzzy logic is derived from fuzzy set theory by Zadeh (1965) dealing with reasoning that is approximate rather than precisely deduced from classical predicate logic. It can be thought of as the application side of fuzzy set theory dealing with well thought out real world expert values for a complex problem (Klir 1997). A membership function
  • 2. ISSN: 2278 – 1323 International Journal of Advanced Research in Computer Engineering & Technology (IJARCET) Volume 2, No 5, May 2013 1862 www.ijarcet.org assigns degree of membership to each element of the set in fuzzy logic. 5) FRDB: It is an extension of the relational database. This extension introduces fuzzy predicates under shapes of linguistic expressions that, at the time of a flexible querying, permits to have a range of answers (each one with a membership degree) in order to offer to the user all intermediate variations between the completely satisfactory answers and those completely dissatisfactory. 6) FRDBMS: It is an extension of the relational DBMS in order to treat, store and interrogate imprecise or fuzzy data. 7) Fuzzy Degrees: Fuzzy attributes, whose domain is in the interval [0, 1], although other values over this unit interval (such as possibility distributions) are also possible, which may be related to specific linguistic labels (like “a lot,” “normal,” etc.). So to keep it simple, usually only degrees in the interval [0, 1] are used. The important meanings of degrees used are: fulfillment degree, uncertainty degree, Possibility degree and Importance degree. 8) Membership Function: Fuzzy membership function is being used to express fuzziness in the query. Zadeh proposed a series of membership functions that could be classified into two groups: those made up of straight lines, or “linear,” and Gaussian forms, or “curved.” [6] III.FRDBMS ARCHITECTURE An FRDBMS is a database which provides many functions such as description of data (DDL-Data Description Language), manipulation of data (DML-Data Manipulation Language), [5] integrity maintenance of FRDB using integrity rules, confidentiality by verifying access rights, management of competition of access, security in case of breakdown and user help. FRDBMS is capable of representing fuzzy information in many shapes and offers an adequate setting for storing and representing the information. [1] A. ARCHITECTURE: The new architecture of FRDBMS is based on GEFRED model [7] which was first proposed by Bosc and then by Medina et al. FSQL is being used as language of description and manipulation of data. FRDBMS can model RDB as well as FRDB. A software layer transforms the command written by user in FSQL language in their equivalent written in SQL.[3] The new architecture of FRDBMS is shown in figure 1. [1] [9] B.PRINCIPLE OF FUNCTIONING: The principle of functioning is as follows: Begin Read each instruction in the SQL query: Copy it in a file (SQLQuery.sql); if it contains a classic attribute Else Divide the Fuzzy attribute query in two parts: a) Classic attributes: Copy the part of SQL with classic attributes to SQLQuery.sql. b) Translation with FMB: A script will translate each fuzzy attribute by compiling it with the Fuzzy Meta Data Knowledge Base and the output containing SQL equivalent of the fuzzy query will be written in the file (FMBOutput.sql). END. [1] [5]
  • 3. ISSN: 2278 – 1323 International Journal of Advanced Research in Computer Engineering & Technology (IJARCET) Volume 2, No 5, May 2013 1863 www.ijarcet.org As a result we will get two files one containing DDL part of DB and second containing modification being done by Fuzzy Metadata Knowledge Base (FMB). IV. COMPARISON OF SQL QUERY AND FUZZY QUERY The comparison of SQL Query and Fuzzy Query over data base is being explained with the help of a simple example. Schema of relation used for this purpose is as follows: Student_schema= (Sid, Marks, Branch) where Marks is thefuzzy attributeand others are crisp. Sid is a primary key of the relation.An example of a sample student relation is shown in Table 1. [10] Table 1: Student Relation Sid Marks Branch 1001 30 CSE 1002 27 CSE 1003 78 IT 1004 97 IT 1005 10 ECE 1006 52 ECE 1007 82 CIVIL 1008 24 CIVIL A. SQL QUERY: Give details of students whose marks are less than or equal to 30. Corresponding SQL Query is as below - Select * from Student Where Marks<=30 [8] The result of SQL query is shown in Table II. Sid Marks Branch 1001 30 CSE 1002 27 CSE 1005 10 ECE 1008 24 CIVIL B.Fuzzy Attribute And Membership Functions The fuzzy query approach is based on the fuzzy Generalized Logical Condition (GLC). Fuzzy membership functions are a tool to express fuzzy attributes. We use four linguistic terms over fuzzy attribute Marks. They are “poor”, “average”, “good”, and “excellent”. Range of these terms is: poor (0-30), average (20-60), good (50-75) and excellent (above 75). Fuzzy membership functions characterizing Marks are shown in figure 2. The membership function over fuzzy attribute Marks is shown below: [4] [10] 1.Degree of membership for poor performer: If (x>0 & x<=20) then degree of membership=1. Else (20<x<=30) then degree of membership = (30-x)/10. 2. Degree of membership for average performer: If (x<20 & x>=60) then degree of membership=0. Else If (20<x<=30) then degree of membership=(x- 20)/10. Else If (30<x<=50) then degree of membership=1. Else (50<x<=60) then degree of membership= (60-x)/10. 3. Degree of membership for good performer: If (x<=50 & x>75) then degree of membership=0. Else If (50<x<=60) then degree of membership=(x-50)/10. Else If (60<x<=70) then degree of membership=1. Else (70<x<=75) then degree of membership= (75- x)/5. 4. Degree of membership for excellent performer: If (x<70) then degree of membership=0. Else If (70<x<=80) then degree of membership=(x-70)/10. If (80<x<=100) then degree of membership=1.
  • 4. ISSN: 2278 – 1323 International Journal of Advanced Research in Computer Engineering & Technology (IJARCET) Volume 2, No 5, May 2013 1864 www.ijarcet.org Figure 2 Fuzzy membership functions characterizing attribute Marks C.Fuzzy Query I. Give details of students who are poor performers: Corresponding fuzzy SQL Query is as below - Select * from Student Where Marks FEQ $poor This query will give only those tuples whose degree of membership function for poor performers is greater than 0. The result of this Fuzzy query is shown in Table III. TABLE III: Output of fuzzy Query (poor performer) . Sid Marks Branch Degree of Membership function 1002 27 CSE 0.3 1005 10 ECE 1 1008 24 CIVIL 0.6 It is easier to say poor performer than to tell marks of each student who scored less than 30. Moreover from result of query user is able to know to what extent a student is poor. A student having membership degree 0.6 is poorer performer than one having 0.3 membership degree. So, Fuzzy queries are more expressive than SQL queries as these help in representation of natural language. Fuzzy query further enhance the expressiveness by using the threshold value of degree as explained in the example below. II. Give details of students who are poor performers with threshold degree greater than 0.4. Corresponding fuzzy SQL Query is as below - Select * from Student Where Marks FEQ $poor THOLD 0.4 This query will give those tuples whose membership degree is greater than 0.4 and who are poor performers. The result is shown in Table IV. TABLE IV: Output of fuzzy Query (threshold greater than 0.4) Sid Marks Branch Degree of Membership function 1005 10 ECE 1 1008 24 CIVIL 0.6
  • 5. ISSN: 2278 – 1323 International Journal of Advanced Research in Computer Engineering & Technology (IJARCET) Volume 2, No 5, May 2013 1865 www.ijarcet.org V.CONCLUSION When users work with usual software tools they have to change their many valued logical thinking (approximate reasoning) into the two-valued computer logic. The SQL requires the crisp specification of a query criterion, while for users a query is best described in terms of a natural (or quasi) natural language with ambiguities and uncertainties. In this paper, the user is being given a powerful and easy to use data mining tool which allows him to query data from databases by using linguistic expressions in order to improve the quality of selection process.A fuzzy query interpreter is developed to transform fuzzy queries to the SQL ones. Another advantage is that the user does not need to learn a new query language. The further studies done in this area would be continued in following directions: 1) The web application with a fuzzy module for data usage is a way of improving fuzzy query approach. 2) The automatic mapping of existing relational DB to FRDB may be implemented. REFERENCES [1] AmelGrissa T. and Mohamed Hassine, “New Architecture of Fuzzy Database Management Systems,” The International Arab Journal of Information Technology, Vol. 6, No. 3, July 2009 213 [2] Ben Hassine A., GrissaA.,Galindo J. and Ounelli H., “ IGI Global: How to achieve Fuzzy Relational Databases Managing Fuzzy Data and Metadata” 2008 [3] “FRDBMS for Fuzzy Querying based on GEFRED Model” IJCA Proceedings on National Workshop-Cum-Conference on (RTMC2011), 2012. [4] Galindo J., Urrutia A., and Piattini M., Fuzzy Databases: Modeling, Design and Implementation, Idea Group Publishing, Hershey, 2005. [5] Grissa A., Ben Hassine A., and Ounelli H., “Extended_FSQL_Server: A Server for the Description and the Manipulation of FRDB,” in Proceedings of the 4th International Multi Conference on Computer Science and Information Technology (CSIT), Jordan, pp. 454- 464, 2006. [6]Jose Galindo, “Handbook of research on fuzzy information processing in databases” IGI Global, 2008. [7] Medina M., Pons O., and Vila A., “GEFRED: A Generalized Model of Fuzzy Relational Data Bases”, Computer Journal of Information Sciences, vol. 76, no. 1, pp. 87-109, 1994. [8] MiroslavHudec, “An Approach to Fuzzy Database Querying, Analysis and Realisation”, UDC 004.4’2, DOI: 10.2298/csis0902127H, 2009. [9] P Gupta, “FUZZY QUERYING IN TRADITIONAL DATABASE,” International Journal of Artificial Intelligence and Knowledge Discovery, Vol. 1, No.4, 2011. [10] S.K.Mondal, J.sen, Md.R.Islam and Md.S.Hossian, “Performance comparison of fuzzy queries on fuzzy database and classical database,” International journal of Computer Application Issue 3, Volume1 (February 2013) [11]S.Zadrozny and guy de Tre, “IGI Global: An Overview of Fuzzy Approaches to Flexible Database Querying”,sep 2011. ABOUT AUTHOR Ms. Subita is currently working as a Lecturer in Govt. Polytechnic Sanghi, Haryana. She has completed her Master of Technology in Computer Science and Engineering at MaharishiDayanandUniversity, Rohtak (Haryana) in 2011. Her areas of interest are Soft Computing, Data Bases and Neural Networks. Miss Sonia is pursuing Master ofTechnology in Computer Science and Engineering at Maharishi Dayanand University, Rohtak (Haryana). Her areas of interest are Soft computing, Software Engineering and Network security. She is currently doing her dissertation work at Maharishi Dayanand University, Rohtak.