Fine-Grained Dichotomies for Conjunctive Queries with Minimum or Maximum
Nofar Carmeli, Nikolaos Tziavelis

TL;DR
This paper provides a detailed complexity analysis of direct access and related tasks for conjunctive queries based on their minimum or maximum attribute values, establishing clear computational boundaries.
Contribution
It introduces a fine-grained complexity framework for conjunctive queries with min/max orderings and characterizes the solvability of various related tasks with a complete dichotomy.
Findings
Complete dichotomy for self-join-free CQs in near-ideal time
Identification of cases solvable with (quasi)linear preprocessing and constant or logarithmic query time
Extension of tools to tasks like ranked enumeration and predicate elimination
Abstract
We investigate the fine-grained complexity of direct access to Conjunctive Query (CQ) answers according to their position, ordered by the minimum (or maximum) value between attributes. We further use the tools we develop to explore a wealth of related tasks. We consider the task of ranked enumeration under min/max orders, as well as tasks concerning CQs with predicates of the form x <= min X , where X is a set of variables and x is a single variable: counting, enumeration, direct access, and predicate elimination (i.e., transforming the pair of query and database to an equivalent pair without min-predicates). For each task, we establish a complete dichotomy for self-join-free CQs, precisely identifying the cases that are solvable in near-ideal time, i.e., (quasi)linear preprocessing time followed by constant or logarithmic time per output.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Database Systems and Queries · Complexity and Algorithms in Graphs · Machine Learning and Algorithms
