Introduction
In the fields of the Semantic Web and data integration, Ontology-Based Data Access (OBDA) has emerged as a standard paradigm for querying incomplete data. By leveraging an ontology—a set of logical constraints—OBDA systems can infer missing information and provide more comprehensive answers than traditional database queries. However, real-world data, particularly that extracted from the web or generated by sensors, is frequently not just incomplete but also uncertain. Extraction tools are prone to errors, and data sources often vary in reliability.
This paper introduces a formal framework for pOBDA (probabilistic OBDA), which extends the traditional model to handle uncertain data. By merging OBDA with Probabilistic Database Systems (PDBMS), the authors provide a mechanism to calculate the probability that a specific answer is true, given both noisy data and the logical rules of an ontology.
The pOBDA Framework
The authors propose a model based on pABoxes (probabilistic ABoxes). In this framework, data assertions are not simply true or false; they are linked to "event expressions." These expressions are Boolean combinations of independent atomic events, each associated with a specific probability. This allows for a nuanced representation of uncertainty where multiple potential "worlds" exist, each with its own probability of being the actual state of the data.
Lifting FO-Rewritability
A central methodological contribution of the paper is the concept of FO-Rewriting Lifting. In traditional OBDA, a common technique is to rewrite a query into First-Order (FO) logic so it can be executed directly by a relational database (RDBMS). The authors demonstrate that if a query/ontology pair is FO-rewritable in a standard setting, that same rewriting can be used to compute probabilities within a PDBMS. This is a significant result because it allows pOBDA to be implemented on top of existing, optimized probabilistic engines like MayBMS or Trio.
Computational Complexity and the Dichotomy Result
The paper focuses heavily on data complexity—analyzing how the time required to compute an answer grows as the size of the database increases. The authors establish a sharp "dichotomy" result for the widely used DL-Lite family of ontologies. They prove that for any given query, the task of computing answer probabilities is either:
- Efficiently solvable (in PTime), or
- Computationally intractable (#P-hard).
There is no middle ground of intermediate complexity. To help practitioners, the authors provide specific syntactic conditions (Theorem 5) to identify "simple" queries that fall into the PTime category. These typically involve tree-like structures where a single root variable is present in every atom of the query.
Key Insights: Ontologies as Uncertainty Reducers
One of the most intuitive insights provided by the paper is how an ontology can actually increase the probability of a query answer. By providing logical links between different data points, the ontology aggregates evidence.
For example, consider a database where there is a 70% chance that "Messi" is a Player and a 50% chance he PlaysFor a specific club. If the ontology contains a rule stating that anyone who PlaysFor a club is necessarily a Player, the combined probability that Messi is a Player rises (to 85% in the authors' example). This demonstrates that logical constraints do not just filter data; they refine our statistical understanding of it.
Handling Intractability
While the class of queries that can be solved exactly in PTime is relatively small, the authors offer a path forward for more complex cases. They note that if a query is FO-rewritable, it admits a Fully Polynomial Randomized Approximation Scheme (FPRAS). This means that even when exact calculation is #P-hard, the system can provide a highly accurate estimate of the probability within a reasonable timeframe.
Conclusion and Future Work
This research bridges the gap between logical reasoning and probabilistic data management. By proving that traditional rewriting techniques can be "lifted" to the probabilistic setting, the authors provide a theoretical foundation for building robust, uncertainty-aware semantic systems.
Future research directions include:
- Inconsistency Management: Developing methods to handle probabilistic data that violates ontological constraints.
- Probabilistic Ontologies: Moving beyond uncertain data to models where the logical rules themselves carry probabilistic weights.
- Complex Queries: Extending the concrete dichotomy to include queries with constants or non-connected components.
Summary updated