Query Answering in Bayesian Description Logics

Ismail Ilkan CeylanDescription Logics 2015

Introduction

In the field of Knowledge Representation (KR), Description Logics (DLs) serve as the formal foundation for defining structured vocabularies and relationships within ontologies. While classical DLs excel at categorical reasoning, they are often limited by an "all or nothing" approach to truth. Real-world data, however, is frequently imprecise, noisy, or probabilistic. To bridge this gap, researchers introduced Bayesian Description Logics (BDLs), specifically $B\mathcal{EL}$. This framework augments the lightweight, computationally efficient DL $\mathcal{EL}$ with probabilistic annotations derived from a Bayesian Network (BN).

While basic reasoning tasks—such as determining if one concept is a sub-concept of another—have been studied in $B\mathcal{EL}$, the more complex challenge of Conjunctive Query Answering (CQA) remained largely unexplored. This paper addresses that gap, providing a rigorous complexity analysis for finding probabilistic entailments and the most likely answers in uncertain environments.

The $B\mathcal{EL}$ Framework and Semantics

The $B\mathcal{EL}$ logic combines the structural power of $\mathcal{EL}$ with the probabilistic modeling of Bayesian Networks. The syntax and semantics of the underlying $\mathcal{EL}$ logic, which includes concepts like conjunction and existential restriction, are summarized in Figure 1.

Syntax and semantics of the lightweight description logic $\mathcal{EL}$.

The author defines the semantics of $B\mathcal{EL}$ using a "multiple world semantics" approach. In this model, a Bayesian Network defines a probability distribution over different possible "worlds," where each world represents a standard $\mathcal{EL}$ ontology. The probability of a specific logical consequence is the sum of the probabilities of all worlds in which that consequence holds. Figure 2 illustrates a sample Bayesian Network and its associated conditional probability tables (CPTs) that govern these distributions.

A Bayesian Network with conditional probability tables defining the distribution over contexts.

Reasoning Problems in $B\mathcal{EL}$

The paper investigates three primary reasoning problems essential for practical applications:

  1. Probabilistic Query Entailment: Calculating the total probability that a specific query is true across all possible worlds.
  2. Top-$k$ Answers: Identifying the $k$ variable mappings (answers) with the highest probability of being true.
  3. Top-$k$ Contexts: Determining the $k$ most likely underlying states of the world (contexts) that would satisfy a given query.

To solve these, the author utilizes Proof Structures—directed acyclic hyper-graphs that track the logical derivation of consequences. By transforming these structures into a BN, logical reasoning is effectively reduced to probabilistic inference.

Complexity Analysis and Key Insights

A major contribution of this work is the identification of the tractability frontier. The author demonstrates that while reasoning in $B\mathcal{EL}$ is generally difficult, it remains polynomial (P) when the query and the Bayesian Network structure are fixed (data and ontology complexity). This is a vital result for developers, as it suggests that $B\mathcal{EL}$ can scale to large datasets provided the underlying schema remains stable.

However, the paper also reveals that the problem is significantly more challenging when the network structure is part of the input (combined complexity). The results are summarized in the table below:

Problem Data/Ontology Complexity Combined Complexity
Probabilistic CQ Entailment P (Tractable) PSpace
Top-$k$ Answer P (Tractable) $coNP^{PP}$ / PSpace
Top-$k$ Contexts P (Tractable) $NP^{PP}$ / PSpace

Other key insights include the duality of answers and contexts, where the most likely answer is not always supported by the most likely context. Furthermore, the author proves that restricting queries to be acyclic—a common tactic to simplify classical DL reasoning—does not alleviate the hardness of combined complexity in the probabilistic setting.

Conclusion and Future Directions

This paper provides a comprehensive theoretical map for query answering under uncertainty in $B\mathcal{EL}$. While the complexity bounds are now well-defined, the work remains primarily theoretical. Future research will focus on implementing practical reasoning systems that utilize "lifted" Bayesian inference and logic programming to handle large-scale, real-world datasets efficiently.

Summary updated

BibTeX
@inproceedings{ceylan2015query,
  author = {Ismail Ilkan Ceylan},
  title = {{Query Answering in Bayesian Description Logics}},
  booktitle = {Description Logics},
  year = {2015},
}
Figure