<<

270

Chapter XI FSQL and SQLf: Towards a Standard in Fuzzy

Angélica Urrutia Universidad Católica del Maule, Chile

Leonid Tineo Universidad Simón Bolivar, Venezuela

Claudia Gonzalez Universidad Simón Bolivar, Venezuela

Abstract

Actually, FSQL and SQLf are the main based proposed extensions to SQL. It would be very interesting to integrate them with a standard for fuzzy databases. The issue is what to take one or other proposal. In this chapter, we analyze FSQL and SQLf making a comparison in several ways: ap- proach direction, fuzzy components, system architecture, satisfaction degree, evaluation mechanisms, and experimental performance. We observe that there are powerful and interesting features in both proposals that could be mixed in a unified language for fuzzy relational databases.

Introduction FSQL was created in order to allow the treat- ment of the uncertainty in fuzzy RDBMS. It allows In order to give greater flexibility to relational the representation and manipulation of precise and dababase management systems (RDBMS), dif- vague data. It distinguishes three data categories: ferent languages and models have been conceived crisp, referential ordered, and referential not or- with the incorporation of fuzzy logic concepts into dered. It uses possibility distributions and similarity information treatment. Two outstanding proposals relations for the representation of vague data, us- in fuzzy logic application to databases are those ing the model GEFRED (Medina, 1994; Medina, of FSQL (Galindo, 1999, 2007) and SQLf (Bosc & Pons, & Vila, 1994). For the manipulation of these Pivert, 1995a). This chapter shows a comparison data, FSQL extends some components of SQL with on these two applications from different points elements of fuzzy logic. It includes the use of pos- of . sibility and necessity measures. Surroundings to

Copyright © 2008, IGI Global, distributing in print or electronic forms without written permission of IGI Global is prohibited. FSQL and SQLf

FSQL have been conceived as a catalogue named The next section gives a basic background on FMB to represent vague data and linguistic terms fuzzy sets. You can read more about this in the in a relational . Additionally, FuzzyEER, first chapter of this handbook. In the following an extension of the EER model (Extended Entity- section, we present the approach directions of Relationship), has been conceived to allow the FSQL and SQLf prior to pointing out the fuzzy conceptual design of databases that incorporate components of both languages. Then, we give a vague data (Urrutia, 2003; Urrutia, Galindo, general view of the architecture in the SQLf and Jiménez, & Piattini, 2006;�������������������� Urrutia, Galindo, & FSQL implementations. We also explain in one Piattini, 2002).���������������������������������� A mechanism for the translation section the use of satisfaction of fulfillment degrees of a conceptual scheme in FuzzyEER to FMB has in these languages. Evaluation mechanisms for been settled (Galindo, Urrutia, & Piattini, 2006). fuzzy queries, according to the two proposals, are There exist two known implementations of FSQL discussed, along with experimental performance at the present time, one in Oracle (Galindo, 1999, analysis of existing prototypes. Finally, we address 2007) and the other in PostgreSQL (Maraboli & some conclusions and future trends of this work. Abarzua, 2006). SQLf was conceived in order to represent vague requirements in queries to relational databases. It Fuzzy Sets Background includes extensions based on fuzzy logic for all the elements of the SQL standards until the SQL3. Fuzzy sets were introduced in Zadeh (1965) to In this language, query conditions may involve model fuzzy classes in control systems, and their diverse linguistic user defined terms that are use has been expanded to different domains: math- specified through an extension of the DDL. SQLf ematics, classification, pattern matching, artificial allows fuzzy queries over precise data, producing intelligence, and so forth. In the first chapter of discriminated answers. That is to say, each this volume, Galindo introduces fuzzy logic and in the answer has associated its satisfaction de- fuzzy databases. See also the overview chapter gree of the vague requirement represented by the by Kacprzyk, Zadrozny, De Tré, and De Caluwe query. In order to evaluate queries in SQLf, it has in this book about fuzzy approaches to flexible been proposed to take advantage of the existing database querying. connections between the fuzzy and classic sets. From a fuzzy query, the principle of the deriva- Fuzzy Sets tion allows obtaining a derived precise query. The processing of the fuzzy query is made on the result The fuzzy sets theory stems from the classic set of the derived consultation. There are two known theory, adding a membership function to the ele- SQLf implementations, both on Oracle. ments of the set, which is defined in a way that The comparison made in this work is related each element is assigned a real number between 0 with the following aspects: variety in the use of and 1 (Zadeh, 1965, 1978). A A over the fuzzy logic elements; satisfaction degree seman- universe of discourse U, is defined by means of a tics of the answer set; evaluation mechanisms for µ → membership function A:U [0,1]. This function query processing; proposed architectures for the indicates the degree to which the element u is in- implementation and performance experimental cluded in the concept represented by the fuzzy set. analysis with current prototypes. With the The degree 0 means that the element is completely work presented in this chapter, we open the way for excluded of the set, while the degree 1 means that the integration of FSQL and SQLf towards a new it is completely included. It is also possible to rep- standard for fuzziness treatment in databases. resent a fuzzy set with a set of pairs. This chapter has been organized as follows:

271 27 more pages are available in the full version of this document, which may be purchased using the "Add to Cart" button on the publisher's webpage: www.igi- global.com/chapter/fsql-sqlf-towards-standard-fuzzy/20357

Related Content

Federated Process Framework in a Virtual Enterprise Using an Object-Oriented Database and Extensible Markup Language Kyoung-Il Bae, Jung-Hyun Kim and Soon-Young Huh (2003). Journal of Database Management (pp. 27-47). www.irma-international.org/article/federated-process-framework-virtual-enterprise/3289

A Framework for Efficient Association Rule Mining in XML Data Ji Zhang, Han Liu, Tok Wang Ling, Robert M. Bruckner and A Min Tjoa (2009). Database : Concepts, Methodologies, Tools, and Applications (pp. 505-526). www.irma-international.org/chapter/framework-efficient-association-rule-mining/7929

An Analytical and Empirical Comparison of End-User Logical Methods Olivia R. Sheng and Kunihiko Higa (1990). Journal of (pp. 1-17). www.irma-international.org/article/analytical-empirical-comparison-end-user/51078

A Template for Defining Enterprise Modelling Constructs Andreas L. Opdahl and Brian Henderson-Sellers (2004). Journal of Database Management (pp. 39-73). www.irma-international.org/article/template-defining-enterprise-modelling-constructs/3310

Data Warehouses Antonio Badia (2005). Encyclopedia of Database Technologies and Applications (pp. 121-126). www.irma-international.org/chapter/data-warehouses/11133