A Monotone Preservation Result for Boolean Queries Expressed as a Containment of Conjunctive Queries

08/27/2018
by   Dimitri Surinx, et al.
0

When a relational database is queried, the result is normally a relation. Some queries, however, only require a yes/no answer; such queries are often called boolean queries. It is customary in database theory to express boolean queries by testing nonemptiness of query expressions of the form Q ≠∅. Another interesting way for expressing boolean queries are containment statements of the form Q_1 ⊆ Q_2. Here, Q_1 ⊆ Q_2(I) is true if Q_1(I)⊆ Q_2(I) and false otherwise. In the present paper we will focus on nonemptiness and containment expressions of conjunctive queries. The main goal is to investigate the monotone subfragment of the containments of conjunctive queries. In particular, we show a preservation like result for this monotone fragment. That is, we show that, in expressive power, the monotone containments of conjunctive queries are exactly equal to conjunctive queries under nonemptiness.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/16/2019

Combinatorial and Algorithmic Properties of One Matrix Structure at Monotone Boolean Functions

One matrix structure in the area of monotone Boolean functions is define...
research
05/14/2023

Puzzling over Subsequence-Query Extensions: Disjunction and Generalised Gaps

A query model for sequence data was introduced in [11] in the form of su...
research
03/22/2023

The Complexity of Why-Provenance for Datalog Queries

Explaining why a database query result is obtained is an essential task ...
research
06/19/2011

Rewriting Ontological Queries into Small Nonrecursive Datalog Programs

We consider the setting of ontological database access, where an Abox is...
research
11/16/2022

Improved Monotonicity Testers via Hypercube Embeddings

We show improved monotonicity testers for the Boolean hypercube under th...
research
10/01/2022

Executable First-Order Queries in the Logic of Information Flows

The logic of information flows (LIF) has recently been proposed as a gen...
research
05/30/2021

Convergence of Datalog over (Pre-) Semirings

Recursive queries have been traditionally studied in the framework of da...

Please sign up or login with your details

Forgot password? Click here to reset