Worst-case Optimal Query Answering for Greedy Sets of Existential Rules and Their Subclasses

12/15/2014
by   Sebastian Rudolph, et al.
0

The need for an ontological layer on top of data, associated with advanced reasoning mechanisms able to exploit the semantics encoded in ontologies, has been acknowledged both in the database and knowledge representation communities. We focus in this paper on the ontological query answering problem, which consists of querying data while taking ontological knowledge into account. More specifically, we establish complexities of the conjunctive query entailment problem for classes of existential rules (also called tuple-generating dependencies, Datalog+/- rules, or forall-exists-rules. Our contribution is twofold. First, we introduce the class of greedy bounded-treewidth sets (gbts) of rules, which covers guarded rules, and their most well-known generalizations. We provide a generic algorithm for query entailment under gbts, which is worst-case optimal for combined complexity with or without bounded predicate arity, as well as for data complexity and query complexity. Secondly, we classify several gbts classes, whose complexity was unknown, with respect to combined complexity (with both unbounded and bounded predicate arity) and data complexity to obtain a comprehensive picture of the complexity of existential rule fragments that are based on diverse guardedness notions. Upper bounds are provided by showing that the proposed algorithm is optimal for all of them.

READ FULL TEXT
research
04/28/2015

Combining Existential Rules and Transitivity: Next Steps

We consider existential rules (aka Datalog+) as a formalism for specifyi...
research
12/12/2015

Query Answering over Contextualized RDF/OWL Knowledge with Forall-Existential Bridge Rules: Decidable Finite Extension Classes (Post Print)

The proliferation of contextualized knowledge in the Semantic Web (SW) h...
research
06/11/2014

Tree-like Queries in OWL 2 QL: Succinctness and Complexity Results

This paper investigates the impact of query topology on the difficulty o...
research
07/17/2023

Derivation-Graph-Based Characterizations of Decidable Existential Rule Sets

This paper establishes alternative characterizations of very expressive ...
research
07/22/2023

Dyadic Existential Rules

Existential rules form an expressive Datalog-based language to specify o...
research
04/19/2018

Loop Restricted Existential Rules and First-order Rewritability for Query Answering

In ontology-based data access (OBDA), the classical database is enhanced...
research
04/13/2023

Decidability of Querying First-Order Theories via Countermodels of Finite Width

We propose a generic framework for establishing the decidability of a wi...

Please sign up or login with your details

Forgot password? Click here to reset