Minimal Module Extraction from DL-Lite Ontologies Using QBF Solvers

Roman Kontchakov, Luca Pulina, Ulrike Sattler, Thomas Schneider, Petra Selmer, Frank Wolter, Michael ZakharyaschevIJCAI 2009

Abstract

Extracting the smallest possible "module" from a massive ontology while preserving its logical meaning is a computationally daunting task. This paper presents a practical framework for $DL-Lite$ ontologies that leverages high-performance Quantified Boolean Formula (QBF) solvers to identify minimal modules. By combining syntactic pre-filtering with logic-based pruning—a "sandwich" optimization—the authors demonstrate that precise modularization is feasible even when theoretical complexity is high. Evaluation on real-world ontologies shows that these minimal modules are significantly smaller than those produced by standard syntactic methods.

Introduction

In the Semantic Web and Knowledge Representation, ontologies often grow into massive, monolithic structures. When developers need to reuse specific components—such as "Publisher" terms from a supply-chain library—they require a module. A module should ideally be indistinguishable from the original ontology regarding a specific set of terms (the signature), a property known as logical inseparability.

Historically, extraction methods have fallen into two categories:

  1. Structural/Syntactic methods: These are computationally efficient but often produce "bloated" modules containing many unnecessary axioms.
  2. Logic-based methods: These are precise but computationally intensive. For many description logics, checking logical inseparability is significantly harder than standard reasoning, often reaching 2EXPTIME-complete complexity.

This paper bridges this gap for the $DL-Lite$ family of logics, which are essential for querying large-scale data sets.

Methodology

The authors propose a hybrid approach that integrates the speed of syntactic methods with the precision of formal logic.

The QBF Oracle and AQME Solver

To verify inseparability, the problem is encoded into Quantified Boolean Formulas (QBF). Unlike standard SAT problems, QBF includes universal and existential quantifiers ($\forall, \exists$), which are necessary to capture the logical requirement that a module must behave like the original ontology across all possible models. The framework utilizes AQME, a self-adaptive multi-engine QBF solver that predicts which underlying engine (such as SKIZZO or QUBE) will perform best for a given problem instance.

The "Sandwich" Optimization

To manage the computational cost, the authors employ a "sandwich" strategy. They first use a fast, tractable syntactic locality-based algorithm to extract an initial module ($\top\perp M$). This provides a manageable upper bound. The QBF-based algorithm then prunes this subset down to its absolute logical minimum, avoiding expensive oracle calls on the full ontology.

Experimental Evaluation

The approach was evaluated on two commercial ontologies:

  • Core: A supply-chain management ontology (1,283 axioms).
  • Umbrella: A research data validation ontology used in intensive care (1,247 axioms).

Key Results

Extreme Pruning

The logic-based approach consistently produced modules significantly smaller than those from popular tools like Prompt, SR, or E-connections. As shown in Figure 1, the minimal modules (MCM, MQM) are often an order of magnitude smaller than the syntactic locality-based modules ($\top\perp M$). For instance, in the Core ontology, a syntactic module might contain hundreds of axioms, while the logically minimal version contains fewer than ten.

Comparison of module sizes across different extraction methods for the Core and Umbrella ontologies.

Efficiency and Solver Performance

Despite the $\Pi^P_2$-completeness of the underlying problem, the optimized algorithm extracted modules from 1K-axiom ontologies in reasonable timeframes. Using the pre-computed syntactic modules as a starting point reduced extraction times from hours to seconds in many cases.

Detailed performance metrics and solver call distribution for single-term signatures.

As detailed in Figure 3, solver diversity was critical. QUBE proved more efficient for "easier" instances, while SKIZZO was necessary for more complex cases. The AQME multi-engine approach successfully navigated these differences to maintain performance.

Conclusion

This research demonstrates that logically minimal module extraction is practically feasible for $DL-Lite$ ontologies. By leveraging QBF solvers and syntactic pre-processing, developers can obtain precise, uniquely determined modules that are far more efficient for reuse than traditional syntactic alternatives. Future work will focus on scaling these techniques to ontologies with over 100,000 axioms and incorporating user-defined "seed sets" to combine human expertise with logical pruning.

Summary updated

BibTeX
@inproceedings{kontchakov2009minimal,
  author = {Roman Kontchakov and Luca Pulina and Ulrike Sattler and Thomas Schneider and Petra Selmer and Frank Wolter and Michael Zakharyaschev},
  title = {{Minimal Module Extraction from DL-Lite Ontologies Using QBF Solvers}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2009},
}
Figure