Bipolar SQLf: A Flexible Querying Language for Relational Databases

Tamani N., Lietard L., Rocacher D.

9th International Conference on Flexible Query Answering Systems (FQAS 2011), Ghent, Belgium, 26 - 28 October 2011, vol.7022, pp.472-474 identifier

  • Publication Type: Conference Paper / Full Text
  • Volume: 7022
  • City: Ghent
  • Country: Belgium
  • Page Numbers: pp.472-474
  • Middle East Technical University Affiliated: No


Flexible querying of information systems allows expressing complex preferences in user queries. Such preferences can be modeled by fuzzy bipolar conditions which are made of constraints c and wishes w and interpreted as "to satisfy c and if possible to satisfy w". We define in this article the main elements of the Bipolar SQLf language, which is an SQL-like querying language based on a bipolar relational algebra [11,3]. This language is an extension of the SQLf language [2,1]. Basic statements (projection, selection, etc.) are firstly defined in terms of syntax, evaluation and calibration. Then, complex statements, such as bipolar queries based on nesting operators are studied in terms of expression, evaluation, query equivalence and backward compatibility with the SQLf language.