On the complexity of query containment and computing certain answers in the presence of ACs

08/25/2020
by   Foto N. Afrati, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
11/06/2019

Certain Answers to a SPARQL Query over a Knowledge Base (extended version)

Ontology-Mediated Query Answering (OMQA) is a well-established framework...
research
05/02/2023

Reverse Engineering of Temporal Queries Mediated by LTL Ontologies

In reverse engineering of database queries, we aim to construct a query ...
research
10/27/2022

Querying Incomplete Numerical Data: Between Certain and Possible Answers

Queries with aggregation and arithmetic operations, as well as incomplet...
research
01/21/2023

Diversity of Answers to Conjunctive Queries

Enumeration problems aim at outputting, without repetition, the set of s...
research
12/21/2022

Tighter bounds for query answering with Guarded TGDs

We consider the complexity of the open-world query answering problem, wh...
research
01/30/2013

Dynamic Jointrees

It is well known that one can ignore parts of a belief network when comp...
research
07/22/2019

Between the deterministic and non-deterministic query complexity

We consider problems that can be solved by asking certain queries. The d...

Please sign up or login with your details

Forgot password? Click here to reset