Hypertree Decompositions and Tractable Queries
arXiv:cs/9812022 · doi:10.1006/jcss.2001.1809
Abstract
Several important decision problems on conjunctive queries (CQs) are NP-complete in general but become tractable, and actually highly parallelizable, if restricted to acyclic or nearly acyclic queries. Examples are the evaluation of Boolean CQs and query containment. These problems were shown tractable for conjunctive queries of bounded treewidth and of bounded degree of cyclicity. The so far most general concept of nearly acyclic queries was the notion of queries of bounded query-width introduced by Chekuri and Rajaraman (1997). While CQs of bounded query width are tractable, it remained unclear whether such queries are efficiently recognizable. Chekuri and Rajaraman stated as an open problem whether for each constant k it can be determined in polynomial time if a query has query width less than or equal to k. We give a negative answer by proving this problem NP-complete (specifically, for k=4). In order to circumvent this difficulty, we introduce the new concept of hypertree decomposition of a query and the corresponding notion of hypertree width. We prove: (a) for each k, the class of queries with query width bounded by k is properly contained in the class of queries whose hypertree width is bounded by k; (b) unlike query width, constant hypertree-width is efficiently recognizable; (c) Boolean queries of constant hypertree width can be efficiently evaluated.
30 pages, 7 figures, uses fancybox, epsfig, epic, and eepic
Cited by in corpus (52)
- Taming the Infinite Chase: Query Answering under Expressive Integrity Constraints
- Pure Nash Equilibria: Hard and Easy Games
- A Backtracking-Based Algorithm for Computing Hypertree-Decompositions
- Satisfiability of Acyclic and Almost Acyclic CNF Formulas
- GYM: A Multiround Join Algorithm In MapReduce
- The tractability of CSP classes defined by forbidden patterns
- Skew Strikes Back: New Developments in the Theory of Join Algorithms
- Backdoors into Heterogeneous Classes of SAT and CSP
- Change Propagation Without Joins
- General and Fractional Hypertree Decompositions: Hard and Easy Cases
- On The Power of Tree Projections: Structural Tractability of Enumerating CSP Solutions
- Computing Pure Nash Equilibria via Markov Random Fields
- Structural Tractability of Counting of Solutions to Conjunctive Queries
- On Minimal Constraint Networks
- Optimal Join Algorithms Meet Top-k
- Connectivity and equilibrium in random games
- Optimal Algorithms for Ranked Enumeration of Answers to Full Conjunctive Queries
- A Trichotomy in the Complexity of Counting Answers to Conjunctive Queries
- Discrete geometric analysis of message passing algorithm on graphs
- Tree-width for first order formulae
- Approximate counting CSP seen from the other side
- Combining Treewidth and Backdoors for CSP
- On the Subexponential Time Complexity of CSP
- Tangled up in Blue (A Survey on Connectivity, Decompositions, and Tangles)
- The complexity of acyclic conjunctive queries revisited
- Joins via Geometric Resolutions: Worst-case and Beyond
- Complexity Analysis of Generalized and Fractional Hypertree Decompositions
- Combined Tractability of Query Evaluation via Tree Automata and Cycluits (Extended Version)
- Constant delay enumeration with FPT-preprocessing for conjunctive queries of bounded submodular width
- Complexity and Applications of Edge-Induced Vertex-Cuts
- HyperBench: A Benchmark and Tool for Hypergraphs and Empirical Findings
- Threshold Treewidth and Hypertree Width
- Tractability Beyond -Acyclicity for Conjunctive Queries with Negation
- Tree Projections and Structural Decomposition Methods: The Power of Local Consistency and Larger Islands of Tractability
- A Note on Directed Treewidth
- Greedy Strategies and Larger Islands of Tractability for Conjunctive Queries and Constraint Satisfaction Problems
- Fast Distributed Complex Join Processing
- Evaluating Datalog via Tree Automata and Cycluits
- The Fine Classification of Conjunctive Queries and Parameterized Logarithmic Space Complexity
- Beyond Worst-Case Analysis for Joins with Minesweeper
- Solving linear programs on factorized databases
- A More General Theory of Static Approximations for Conjunctive Queries
- Hypergraph Acyclicity Revisited
- Query Rewriting and Optimization for Ontological Databases
- Structural Decompositions for Problems with Global Constraints
- Tractable Optimization Problems through Hypergraph-Based Structural Restrictions
- Tractable hypergraph properties for constraint satisfaction and conjunctive queries
- D-FLAT: Declarative Problem Solving Using Tree Decompositions and Answer-Set Programming
- Tree Projections and Structural Decomposition Methods: Minimality and Game-Theoretic Characterization
- Counting Answers to Unions of Conjunctive Queries: Natural Tractability Criteria and Meta-Complexity
- On the Complexity of Inductively Learning Guarded Rules
- The HyperTrac Project: Recent Progress and Future Research Directions on Hypergraph Decompositions