Extending SQL with customizable soft selection conditions

  • Authors:
  • Gloria Bordogna;Giuseppe Psaila

  • Affiliations:
  • CNR Istituto per la Dinamica dei Processi Ambientali, Dalmine, Italy;Università di Bergamo, Dalmine, Italy

  • Venue:
  • Proceedings of the 2005 ACM symposium on Applied computing
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

Users of information systems are aware that databases can be a mine of useful information, and would like to express flexible queries over the data possibly retrieving, not perfect" items when the perfect ones, those exactly matching the selection conditions, are not available. Most commercial DBMSs are still based on the SQL for querying. Thus providing some flexibility to SQL can help users to improve their interaction with the systems without requing them to learn a completely novel language. In our approach we allow vague selection conditions based on linguistic predicates, i.e. soft conditions. This topic has been considered in previous works, specifically in SQL/f which is a proposal for extending SQL with soft conditions; however, we think that SQL/f does not completely solve the problem mainly because it does not provide any practical means to customize the meanings of soft conditions to fit specific application domains. Based on these considerations, we propose an extension of SQL which supports customizable soft selection conditions which admit degrees of satisfaction; customizable soft conditions can be defined by users for their specific needs and application domains by means of an SQL like operator. Specifically, this paper proposes an extension of the basic SQL SELECT operator for specifying soft conditions; introduces a new operator for customizing the semantics of the linguistic predicates, provides the formal semantics for the proposed extension of selection conditions.