Evaluation of set-based queries with aggregation constraints

Quoc Trung Tran, Chee-Yong Chan, Guoping Wang
2011 Proceedings of the 20th ACM international conference on Information and knowledge management - CIKM '11  
Many applications often require finding a set of items of interest with respect to some aggregation constraints. For example, a tourist might want to find a set of places of interest to visit in a city such that the total expected duration is no more than six hours and the total cost is minimized. We refer to such queries as SAC queries for "set-based with aggregation constraints" queries. The usefulness of SAC queries is evidenced by the many variations of SAC queries that have been studied
more » ... ch differ in the number and types of constraints supported. In this paper, we make two contributions to SAC query evaluation. We first establish the hardness of evaluating SAC queries with multiple count constraints and presented a novel, pseudo-polynomial time algorithm for evaluating a non-trivial fragment of SAC queries with multiple sum constraints and at most one of either count, group-by, or content constraint. We also propose a heuristic approach for evaluating general SAC queries. The effectiveness of our proposed solutions is demonstrated by an experimental performance study.
doi:10.1145/2063576.2063791 dblp:conf/cikm/TranCW11 fatcat:svnlsoy5f5gcbmhgig6lencu7i