Embedding Non-Ground Logic Programs into Autoepistemic Logic for Knowledge-Base Combination

Jos de Bruijn, Thomas Eiter, Axel Polleres, Hans Tompits

Abstract

In the context of the Semantic Web, several approaches to the combination of ontologies, given in terms of theories of classical first-order logic, and rule bases have been proposed. They either cast rules into classical logic or limit the interaction between rules and ontologies. Autoepistemic logic (AEL) is an attractive formalism which allows to overcome these limitations, by serving as a uniform host language to embed ontologies and nonmonotonic logic programs into it. For the latter, so far only the propositional setting has been considered. In this paper, we present several embeddings of normal and disjunctive non-ground logic programs under the stable-model semantics into first-order AEL, and compare them in combination with classical theories, with respect to stable expansions and autoepistemic consequences. Our results reveal differences and correspondences of the embeddings and provide a useful guidance in the choice of a particular embedding for knowledge combination.

Introduction

The Semantic Web necessitates the integration of two distinct knowledge representation paradigms: classical first-order logic (FO) for ontologies and non-monotonic logic programs (LP) for rule-based reasoning. Traditionally, combining these has required either restricting interaction between predicates or forcing rules into classical logic, which often fails to capture the intended non-monotonic semantics (e.g., negation as failure). This research addresses the need for a uniform host language—First-Order Autoepistemic Logic (FO-AEL)—to house both ontologies and rules without artificial restrictions, enabling a truly integrated knowledge base.

Embedding Strategies

The authors utilize FO-AEL, which extends standard logic with a modal operator $L$ (representing "is known" or "is believed"). They define several embeddings for non-ground logic programs:

  • $\tau_{HP}$ (Horn for Positive rules): Rules are translated into objective Horn-like clauses where only negation-as-failure atoms are modalized (e.g., $not\ c$ becomes $\neg Lc$).
  • $\tau_{EB}$ (Epistemic Bodies): Positive atoms in rule bodies must be "known" ($L$) to trigger the rule.
  • $\tau_{EH}$ (Epistemic Heads): Both body atoms and the resulting head atom must be "known."

For disjunctive programs, Positive Introspection Axioms (PIAs)—stating that if a formula is true, it is known to be true—are introduced to maintain faithfulness to stable model semantics. The embeddings also address quantification semantics, specifically the "any-name" vs. "all-name" interpretations, to ensure intuitive variable handling.

Comparative Analysis and Results

A central finding is that while all embeddings are faithful to stable model semantics in isolation, they diverge when combined with classical FO theories.

Strength and Inclusion

The embeddings form a hierarchy based on the sets of autoepistemic consequences they produce. As shown in Figure 1, $\tau_{HP}$ is generally the strongest embedding because it allows for contrapositive reasoning (reasoning from the head back to the body), a feature absent in $\tau_{EB}$ and $\tau_{EH}$.

Figure 1: Inclusion relations between the sets of autoepistemic consequences for different embeddings.

Equivalence Conditions

The research identifies specific conditions under which these embeddings yield identical results. For instance, in the propositional (ground) setting or when the classical theory is empty, many of these differences collapse. Table 1 summarizes these correspondences across different classes of theories and programs.

Table 1: Summary of conditions under which different embeddings yield the same stable expansions.

Discussion and Future Work

The introduction of variables significantly impacts the behavior of these embeddings. In $\tau_{HP}$, rules can apply to "unnamed" individuals in the domain, whereas $\tau_{EB}$ and $\tau_{EH}$ effectively restrict rule application to individuals with specific names.

Future research directions include:

  • Equality: Extending the framework to handle equality in rule heads.
  • Complexity: Defining decidable fragments and developing practical reasoning algorithms.
  • Alternative Hosts: Exploring other non-monotonic formalisms like Default Logic or Circumscription as potential host languages.

This work provides a rigorous foundation for choosing appropriate embeddings when combining rules and ontologies, highlighting the trade-offs between inferential strength and predictability.

Summary updated

Abstract

In the context of the Semantic Web, several approaches to the combination of ontologies, given in terms of theories of classical first-order logic, and rule bases have been proposed. They either cast rules into classical logic or limit the interaction between rules and ontologies. Autoepistemic logic (AEL) is an attractive formalismwhich allows to overcome these limitations, by serving as a uniform host language to embed ontologies and nonmonotonic logic programs into it. For the latter, so far only the propositional setting has been considered. In this paper, we present several embeddings of normal and disjunctive non-ground logic programs under the stable-model semantics into first-order AEL, and compare them in combination with classical theories, with respect to stable expansions and autoepistemic consequences. Our results reveal differences and correspondences of the embeddings and provide a useful guidance in the choice of a particular embedding for knowledge combination.
BibTeX
@article{bruijn2011embedding,
  author = {Jos de Bruijn and Thomas Eiter and Axel Polleres and Hans Tompits},
  title = {{Embedding Non-Ground Logic Programs into Autoepistemic Logic for Knowledge-Base Combination}},
  journal = {ACM Trans. Comput. Log.},
  year = {2011},
  doi = {10.1145/1929954.1929957},
}
Figure