Hostname: page-component-77f85d65b8-5ngxj Total loading time: 0 Render date: 2026-03-30T03:09:51.156Z Has data issue: false hasContentIssue false

Dyadic Existential Rules

Published online by Cambridge University Press:  24 August 2023

GEORG GOTTLOB
Affiliation:
Department of Computer Science, University of Oxford, Oxford OX1 3QG, UK Faculty of Informatics, TU Wien, Vienna, Austria (e-mail: georg.gottlob@cs.ox.ac.uk)
MARCO MANNA
Affiliation:
Department of Mathematics and Computer Science, University of Calabria, Arcavacata, Italy (e-mails: marco.manna@unical.it, cinzia.marte@unical.it)
CINZIA MARTE
Affiliation:
Department of Mathematics and Computer Science, University of Calabria, Arcavacata, Italy (e-mails: marco.manna@unical.it, cinzia.marte@unical.it)
Rights & Permissions [Opens in a new window]

Abstract

Existential rules form an expressive ${{\textsf{Datalog}}}$-based language to specify ontological knowledge. The presence of existential quantification in rule-heads, however, makes the main reasoning tasks undecidable. To overcome this limitation, in the last two decades, a number of classes of existential rules guaranteeing the decidability of query answering have been proposed. Unfortunately, only some of these classes fully encompass ${{\textsf{Datalog}}}$ and, often, this comes at the price of higher computational complexity. Moreover, expressive classes are typically unable to exploit tools developed for classes exhibiting lower expressiveness. To mitigate these shortcomings, this paper introduces a novel general syntactic condition that allows us to define, systematically and in a uniform way, from any decidable class $\mathcal{C}$ of existential rules, a new class called ${{\textsf{Dyadic-}\mathcal{C}}}$ enjoying the following properties: (i) it is decidable; (ii) it generalizes ${{\textsf{Datalog}}}$; (iii) it generalizes $\mathcal{C}$; (iv) it can effectively exploit any reasoner for query answering over $\mathcal{C}$; and (v) its computational complexity does not exceed the highest between the one of $\mathcal{C}$ and the one of ${{\textsf{Datalog}}}$.

Information

Type
Original Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2023. Published by Cambridge University Press
Figure 0

Table 1. Computational complexity of query answering

Figure 1

Algorithm 1: DpCertEval[$\mathcal{C}$](q, D, Π, c)

Figure 2

Algorithm 2: Complete[$_\mathcal{C}$](D, Π)

Figure 3

Algorithm 3: CertEval[Dyadic-$_\mathcal{C}$](q, D, Σ, c)

Figure 4

Table 2. Data complexity comparison of cert-eval${{[{{\mathcal{C}}}]}}$ with ${{cert-eval[{{\textsf{Dyadic-}\mathcal{C}}}]}}$

Figure 5

Table 3. Combined complexity comparison of cert-eval${{[{{\mathcal{C}}}]}}$ with ${{cert-eval[{{\textsf{Dyadic-}\mathcal{C}}}]}}$