Guanaco: A Global-Uniformity Algorithm for Near-Submodular-Width Conjunctive Query Evaluation
Mahmoud Abo Khamis, Hubie Chen
Abstract
We present Guanaco, an algorithm for performing conjunctive query evaluation where, for each Boolean conjunctive query, and positive epsilon, the algorithm achieves polynomial time with exponent equal to the submodular width plus epsilon. The algorithm and its running time generalize smoothly to general conjunctive queries. We believe the algorithm and its analysis to be notably simple, indeed, together we believe they form a highly simple argument that conjunctive query evaluation can be performed in essentially submodular width time. In the case of Boolean conjunctive queries, the algorithm is based on interleaving three simple primitives: a subroutine for establishing a form of consistency; a subroutine for establishing global uniformity, which, briefly speaking, partitions relations as needed to control discrepancies between average degree and maximum degree; and, a simple step that joins pairs of existing relations to form new relations.
Create a lesson
Related papers
Tight Width Minimisation of Self-Join-Free Quantified Conjunctive Queries
Shared title terminology · Hubie Chen, Fabio Mogavero, Sam M. Thompson
Answering Conjunctive Queries over Linear Existential Rules with Transitivity
Shared title terminology · Cristina Feier, Tomasz Gogacz, Filip Murlak
Order-Dependent Complexity of Enumeration and Direct Access for Conjunctive Queries on Dynamic Data
Shared title terminology · Antoine Amarilli, Nofar Carmeli, Clémence Dumoulin
SPARQLcirc: Probabilistic Query Evaluation with Provenance Circuits
Shared title terminology · Jingcheng Wu, Ratan Bahadur Thapa, Daniel Hernández et al.
A Fine-Grained Dichotomy for Bounded-Variable Query Evaluation: The Calculus of Relations, a Boolean Modal Logic, and One-Variable Counting Logic
Shared title terminology · Yoshiki Nakamura, Yuya Uezato
Conjunctive Queries with Negation: Beyond Signed-Acyclicity
Shared title terminology · Simon Frisk, Paraschos Koutris