What is it about?

We identify new structural properties of conjunctive database queries with negation that allow for guaranteed polynomial time query answering. We give algorithms for the efficient evaluation, assuming the the property is satisfied, and for identifying whether a query has the property itself. In addition, our results are also extended to the propositional satisfiability problem where even stronger upper bound guarantees can be given.

Featured Image

Why is it important?

Database systems operate on heuristics that hope to perform well on common workloads. With the immense increase of data in all industries, and more and more complex data analysis, these heuristics are reaching their limits and users are exposed to the worst-case exponential time (the problem is NP-hard) required to solve queries. Theoretical advances in polynomial time query answering are therefore critical for the future of databases and data science. While the case of queries without negation is extensively studied and well understood, this work considers the problem with negation. While negation is a very natural and intuitive concept in database queries, it also vastly complicates the problem and requires completely new methods for efficient query solving. This work is the first to introduce methods and algorithms for solving large classes of complex queries with negation in guaranteed polynomial time.

Perspectives

I hope that this article can serve as an impulse for further study in algorithmic problems that admit tractable algorithms for beta-acyclic instances. Many important reasoning problems fall under this category and our understanding of the relationship between complexity and structure could increase greatly by studying them further.

Matthias Lanzinger
University of Oxford

Read the Original

This page is a summary of: Tractability Beyond ß-Acyclicity for Conjunctive Queries with Negation, June 2021, ACM (Association for Computing Machinery),
DOI: 10.1145/3452021.3458308.
You can read the full text:

Read

Resources

Contributors

The following have contributed to this page