On the complexity of query containment and computing certain answers in the presence of ACs
Foto N. Afrati, Matthew Damigos

TL;DR
This paper investigates the complexity of query containment and certain answers in conjunctive queries with arithmetic comparisons, providing upper bounds and identifying polynomial cases under specific restrictions.
Contribution
It establishes upper bounds for containment problems and identifies classes of CQAC queries with polynomial-time solutions for computing certain answers.
Findings
Upper bounds on the complexity of containment for CQAC queries.
Identification of large classes of CQAC queries with polynomial-time certain answers.
Analysis of how arithmetic comparisons affect query containment complexity.
Abstract
We often add arithmetic to extend the expressiveness of query languages and study the complexity of problems such as testing query containment and finding certain answers in the framework of answering queries using views. When adding arithmetic comparisons, the complexity of such problems is higher than the complexity of their counterparts without them. It has been observed that we can achieve lower complexity if we restrict some of the comparisons in the containing query to be closed or open semi-interval comparisons. Here, focusing a) on the problem of containment for conjunctive queries with arithmetic comparisons (CQAC queries, for short), we prove upper bounds on its computational complexity and b) on the problem of computing certain answers, we find large classes of CQAC queries and views where this problem is polynomial.
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 · Data Management and Algorithms · Semantic Web and Ontologies
