Introduction
Answering complex queries over large, ontology-enriched databases is computationally intensive. "Combined approaches" have emerged as a practical solution by blending data materialization with database-style querying. This paper presents the first combined approach to support nominals (unique, named individuals) within the $\mathcal{EL}$ family of description logics, bridging a significant gap in reasoning for the widely used OWL 2 EL standard.
Methodology
The authors address the logic $\mathcal{ELHO}^r_\bot$, covering nearly all of the OWL 2 EL standard. Their upgraded combined approach follows a three-step process:
- Datalog Rewriting (Materialization): The ontology is translated into a Datalog program. To ensure termination when rules generate infinite chains, function symbols are replaced with globally fresh "auxiliary individuals." To maintain correctness with nominals, these individuals are parameterized by both a role and a concept (e.g., $o_{R,A}$).
- Query Evaluation: The query is executed over the materialized Datalog model. This model is an over-estimation, returning a superset of correct answers that includes "spurious" (unsound) results.
- Post-processing Filter (
isSpur): A novel polynomial-time filtering function weeds out spurious answers by checking for equality constraint violations (the "fork" rule) and impossible cyclic loops of auxiliary individuals.
Key Insights and Ideas
- Recursive Filtering: Unlike previous approaches where filtering could be baked into the query, nominals introduce recursive equality constraints that necessitate a separate post-processing step.
- Dual-Parameter Auxiliary Individuals: The authors proved that when equality reasoning is involved, auxiliary individuals must depend on both the role and the concept to prevent the filter from misidentifying merged branches.
- Graph-Based Cycle Detection: Spurious answers caused by infinite loops in the Datalog model are detected by constructing a directed graph from the query's terms; cycles in this graph flag the answer for removal.
Experimental Evaluation
The prototype was evaluated using two modified ontologies: the LSTW Benchmark (an extended LUBM university domain ontology) and SEMINTEC (a financial services ontology). These were injected with nominals to test the new logic's performance.
Key Results
- Manageable Data Blowup: Materialization proved highly efficient. Across all datasets, the number of facts at most doubled, and the introduction of "true" auxiliary individuals was minimal, accounting for less than 0.05% of total individuals.
- Performance Bottlenecks: While typical queries were evaluated in seconds, specific "stress test" queries designed to generate millions of spurious answers took up to 40 minutes. This highlights that while the filtering logic is polynomial, the sheer volume of intermediate spurious results remains a practical challenge.
Future Work
Future research aims to integrate the filter directly into the query evaluation engine to "eagerly" discard invalid paths before they multiply. Additionally, the authors plan to extend this approach to the full OWL 2 EL standard by incorporating support for transitive roles and complex role inclusions.
Summary updated