Preference formulas in relational queries

被引:239
作者
Chomicki, J [1 ]
机构
[1] SUNY Buffalo, Dept Comp Sci & Engn, Buffalo, NY 14260 USA
来源
ACM TRANSACTIONS ON DATABASE SYSTEMS | 2003年 / 28卷 / 04期
关键词
languages; theory; preference queries; preferences; query optimization; relational algebra;
D O I
10.1145/958942.958946
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
The handling of user preferences is becoming an increasingly important issue in present-day information systems. Among others, preferences are used for information filtering and extraction to reduce the volume of data presented to the user. They are also used to keep track of user profiles and formulate policies to improve and automate decision making. We propose here a simple, logical framework for formulating preferences as preference formulas. The framework does not impose any restrictions on the preference relations, and allows arbitrary operation and predicate signatures in preference formulas. It also makes the composition of preference relations straightforward. We propose a simple, natural embedding of preference formulas into relational algebra (and SQL) through a single winnow operator parameterized by a preference formula. The embedding makes possible the formulation of complex preference queries, for example, involving aggregation, by piggybacking on existing SQL constructs. It also leads in a natural way to the definition of further, preference-related concepts like ranking. Finally, we present general algebraic laws governing the winnow operator and its interactions with other relational algebra operators. The preconditions on the applicability of the laws are captured by logical formulas. The laws provide a formal foundation for the algebraic optimization of preference queries. We demonstrate the usefulness of our approach through numerous examples.
引用
收藏
页码:427 / 466
页数:40
相关论文
共 48 条
[1]  
Abiteboul S., 1995, Foundations of databases, V1st
[2]  
AGRAWAL R, 2000, P ACM SIGMOD INT C M, P297, DOI DOI 10.1145/342009.335423
[3]   Operators and laws for combining preference relations [J].
Andréka, H ;
Ryan, M ;
Schobbens, PY .
JOURNAL OF LOGIC AND COMPUTATION, 2002, 12 (01) :13-53
[4]   The Skyline operator [J].
Börzsönyi, S ;
Kossmann, D ;
Stocker, K .
17TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING, PROCEEDINGS, 2001, :421-430
[5]  
BOUTILIER C, 1999, P S UNC ART INT
[6]   Preferred answer sets for extended logic programs [J].
Brewka, G ;
Eiter, T .
ARTIFICIAL INTELLIGENCE, 1999, 109 (1-2) :297-356
[7]   Top-k selection queries over relational databases:: Mapping strategies and performance evaluation [J].
Bruno, N ;
Chaudhuri, S ;
Gravano, L .
ACM TRANSACTIONS ON DATABASE SYSTEMS, 2002, 27 (02) :153-187
[8]  
BURKE R, 1999, P AAAI WORKSH AI EL
[9]  
Carey M. J., 1997, SIGMOD Record, V26, P219, DOI 10.1145/253262.253302
[10]   RATIONAL SELECTION OF DECISION FUNCTIONS [J].
Chernoff, Herman .
ECONOMETRICA, 1954, 22 (04) :422-443