11.07.2015 Views

Querying a summary of database - APMD

Querying a summary of database - APMD

Querying a summary of database - APMD

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

J Intell Inf Syst (2006) 26: 59–73 61among the results on the basis <strong>of</strong> their relative satisfaction to the graded semantics: a value<strong>of</strong> 20 is better ranked than a value <strong>of</strong> 18.The fuzzy set theory is <strong>of</strong>ten used in flexible querying (see Dubois and Prade, 1997)because it provides a formal framework to handle the graduality and vagueness inherent tonatural language. The following works, which are representative <strong>of</strong> the research on flexibilityin <strong>database</strong> querying, exemplify the use <strong>of</strong> fuzzy sets. They are essentially characterized bya tuple-oriented processing, the possibility to define new terms and especially, the use <strong>of</strong>satisfaction degrees.2.1. SQLfThe querying language SQLf, proposed by Bosc and Pivert (1994), is an extension <strong>of</strong> SQLaiming at “introducing fuzzy predicates into SQL wherever possible”. An augmentation <strong>of</strong>both the syntax and semantics <strong>of</strong> SQL is performed so that most elements <strong>of</strong> a query can befuzzified. These elements include operators, aggregation functions, modifiers (very, really,more or less), quantifiers (most, a dozen) as well as general description terms such as youngor well-paid.Different interpretations are possible for the same query, for instance fuzzy sets crispcardinality or Yager’s ordered weighted averaging operators (Yager, 1988). It occurs for eachrecord and yields a grade <strong>of</strong> membership (<strong>of</strong> the record to the query) which is used to rankthe results. An example <strong>of</strong> query in SQLf is “select 10 dpt from EMPLOYEE group bydpt having most-<strong>of</strong> (age = young) are well-paid” where standard SQL keywords are inbold face, and dpt and age are attributes from a relation named EMPLOYEE. The queryselects the 10 departments which have the best satisfaction <strong>of</strong> the condition “most <strong>of</strong> theyoung employees are well-paid”.2.2. FQUERYFQUERY (Kacprzyk and Zadro«zny, 2001) is an integration <strong>of</strong> flexible querying into anexisting <strong>database</strong> management system, namely Micros<strong>of</strong>t Access. The system allows querieswith vague predicates expressed through fuzzy sets. Queries may contain linguistic quantifiersand attach different levels <strong>of</strong> importance to attributes. In doing so, the authors try to applythe computing with words paradigm and, eventually, deal with linguistic values, quantifiers,modifiers and relations.FQUERY uses fuzzy sets for the imprecision aspect and performs a syntax and semanticsextension <strong>of</strong> SQL. Linguistic values and quantifiers are represented as fuzzy sets. On thesemantics side, the query is considered as a fuzzy set resulting from the combination <strong>of</strong>fuzzy sets from linguistic values and quantifiers. Accordingly, each record selected by aclassical SQL query, has a satisfaction degree used in a ranking step since it indicates howwell the record corresponds to the query.2.3. SummarySQLDeveloped by Rasmussen and Yager (1997), SummarySQL is a fuzzy query language intendedto integrate summaries into a fuzzy query. The language can evaluate the truth degree<strong>of</strong> a <strong>summary</strong> guessed by the user. It can also use a <strong>summary</strong> as a predicate in a fuzzy query.A <strong>summary</strong> expresses knowledge about the <strong>database</strong> in a statement under the form “Qobjects in DB are S”or“QRobjects in DB are S”. DB stands for the <strong>database</strong>, Q is a linguisticSpringer

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!