Abstract
Diversity, group representation, and similar needs often apply to query results, which in turn require constraints on the sizes of various subgroups in the result set. Traditional relational queries only specify conditions as part of the query predicate(s), and do not support such restrictions on the output. In this paper, we study the problem of modifying queries to have the result satisfy constraints on the sizes of multiple subgroups in it. This problem, in the worst case, cannot be solved in polynomial time. Yet, with the help of provenance annotation, we are able to develop a query refinement method that works quite efficiently, as we demonstrate through extensive experiments.
Original language | American English |
---|---|
Pages (from-to) | 106-118 |
Number of pages | 13 |
Journal | Proceedings of the VLDB Endowment |
Volume | 17 |
Issue number | 2 |
DOIs | |
State | Published - 1 Oct 2023 |