Skip to main content
QUICK REVIEW

[Paper Review] Combining Existential Rules and Transitivity: Next Steps

Jean-François Baget, Meghyn Bienvenu|arXiv (Cornell University)|Apr 28, 2015
Semantic Web and OntologiesComputer Science20 references9 citations
TL;DR

This paper investigates the combination of existential rules (Datalog±) with transitivity, proving that transitivity is incompatible with the acyclic graph of rule dependencies (aGRD) class, rendering entailment undecidable. However, it introduces a novel query rewriting algorithm that enables decidable query entailment for linear rules extended with transitivity—both for atomic and general conjunctive queries under a safety condition—achieving ExpTime-complexity in combined complexity and NL-complexity in data complexity.

ABSTRACT

We consider existential rules (aka Datalog+) as a formalism for specifying ontologies. In recent years, many classes of existential rules have been exhibited for which conjunctive query (CQ) entailment is decidable. However, most of these classes cannot express transitivity of binary relations, a frequently used modelling construct. In this paper, we address the issue of whether transitivity can be safely combined with decidable classes of existential rules. First, we prove that transitivity is incompatible with one of the simplest decidable classes, namely aGRD (acyclic graph of rule dependencies), which clarifies the landscape of `finite expansion sets' of rules. Second, we show that transitivity can be safely added to linear rules (a subclass of guarded rules, which generalizes the description logic DL-Lite-R) in the case of atomic CQs, and also for general CQs if we place a minor syntactic restriction on the rule set. This is shown by means of a novel query rewriting algorithm that is specially tailored to handle transitivity rules. Third, for the identified decidable cases, we pinpoint the combined and data complexities of query entailment.

Motivation & Objective

  • To determine whether transitivity can be safely combined with decidable classes of existential rules in Datalog±.
  • To identify conditions under which transitivity preserves decidability of conjunctive query (CQ) entailment.
  • To develop a novel query rewriting algorithm tailored for handling transitivity in linear rule sets.
  • To analyze the combined and data complexity of query entailment in the identified decidable cases.

Proposed method

  • Proves undecidability of atomic CQ entailment in the aGRD class when extended with transitivity rules.
  • Introduces a new query rewriting algorithm that systematically transforms queries over linear + transitivity rule sets into equivalent unions of conjunctive queries.
  • Employs a novel technique to manage transitive closure by tracking begin and end terms of transitive chains, enabling termination under safety conditions.
  • Uses a reduction from Alternating Turing Machine (ATM) simulation to prove ExpTime-hardness of combined complexity.
  • Analyzes complexity by bounding the size of the rewritten query and the number of recursive steps in the rewriting process.
  • Establishes complexity upper bounds via exponential-time construction of the rewritten query and NP-evaluation of each component.

Experimental results

Research questions

  • RQ1Is transitivity compatible with the aGRD class of existential rules, and does it preserve decidability of CQ entailment?
  • RQ2Can transitivity be safely added to linear rules (a subclass of guarded rules) while maintaining decidability of CQ entailment?
  • RQ3What is the combined and data complexity of CQ entailment for linear rules extended with transitivity?
  • RQ4Can a sound and complete query rewriting procedure be designed for linear + transitivity rule sets?
  • RQ5What syntactic restrictions ensure termination of the rewriting process for general CQs?

Key findings

  • Adding transitivity to the aGRD class renders atomic CQ entailment undecidable, demonstrating incompatibility.
  • For linear rules extended with transitivity, atomic CQ entailment is decidable and complete in ExpTime under combined complexity.
  • General CQ entailment remains decidable if the rule set is safe (i.e., satisfies a syntactic restriction on variable occurrence), with complexity bounded in ExpTime.
  • The data complexity of CQ entailment for linear+trans rule sets is NL-complete, the lowest possible for such problems.
  • The proposed query rewriting algorithm terminates for atomic queries and for general queries under the safety condition, ensuring decidability.
  • The algorithm's correctness is proven via a reduction to ATM simulation, establishing ExpTime-hardness and tight complexity bounds.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.