Query Rewriting with Disjunctive Existential Rules and Mappings

06/09/2023
by   Michel Leclere, et al.
0

We consider the issue of answering unions of conjunctive queries (UCQs) with disjunctive existential rules and mappings. While this issue has already been well studied from a chase perspective, query rewriting within UCQs has hardly been addressed yet. We first propose a sound and complete query rewriting operator, which has the advantage of establishing a tight relationship between a chase step and a rewriting step. The associated breadth-first query rewriting algorithm outputs a minimal UCQ-rewriting when one exists. Second, we show that for any “truly disjunctive” nonrecursive rule, there exists a conjunctive query that has no UCQ-rewriting. It follows that the notion of finite unification sets (fus), which denotes sets of existential rules such that any UCQ admits a UCQ-rewriting, seems to have little relevance in this setting. Finally, turning our attention to mappings, we show that the problem of determining whether a UCQ admits a UCQ-rewriting through a disjunctive mapping is undecidable. We conclude with a number of open problems.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
11/14/2017

Goal-Driven Query Answering for Existential Rules with Equality

Inspired by the magic sets for Datalog, we present a novel goal-driven a...
research
07/16/2021

Capturing Homomorphism-Closed Decidable Queries with Existential Rules

Existential rules are a very popular ontology-mediated query language fo...
research
07/07/2016

Mapping Data to Ontologies with Exceptions Using Answer Set Programming

In ontology-based data access, databases are connected to an ontology vi...
research
01/12/2020

Deciding the Loosely Guarded Fragment and Querying Its Horn Fragment Using Resolution

We consider the following query answering problem: Given a Boolean conju...
research
07/12/2019

Equiprobable mappings in weighted constraint grammars

We show that MaxEnt is so rich that it can distinguish between any two d...
research
04/28/2015

Combining Existential Rules and Transitivity: Next Steps

We consider existential rules (aka Datalog+) as a formalism for specifyi...
research
10/14/2019

Dynamic Complexity of Parity Exists Queries

Given a graph whose nodes may be coloured red, the parity of the number ...

Please sign up or login with your details

Forgot password? Click here to reset