Abstract
Inconsistent-tolerant semantics, like the IAR and ICAR semantics, have been proposed as means to compute meaningful query answers over inconsistent Description Logic (DL) ontologies. In the current paper we present a framework for scalable query answering under both the IAR and ICAR semantics, which is based on highly efficient data saturation systems. Our approach is sound and complete for ontologies expressed in the lightweight DL DL-Lite, but for more expressive DLs the problem is known to be intractable, hence our algorithm only computes upper approximations. Nevertheless, its structure motivates a new type of ICAR-like semantics which can be computed in polynomial time for a very large family of DLs. We have implemented our techniques and conducted an experimental evaluation obtaining encouraging results as both our IAR- and ICAR-answering approaches are far more efficient than existing available IAR-based answering systems.
Introduction
In the Semantic Web and Linked Data, ontologies (Description Logics) define the rules for data. However, real-world data is often messy and contains inconsistencies—for example, a database might list an individual as both a "Full Professor" and an "Undergraduate Student," violating mutual exclusivity rules. Standard query answering fails or yields nonsensical results in these cases. Consistent query answering (CQA) aims to find answers that are true in all possible "repairs" (consistent versions) of the data. Two popular methods are IAR (Intersection of All Repairs) and ICAR (Intersection of Closed ABox Repairs). The primary challenge is that these methods are often computationally intractable for complex logics or too slow for massive datasets.
Methodology
The authors propose a framework that leverages high-performance RL ABox-saturation systems (specialized databases like GraphDB) to make CQA scalable. Key technical components include:
- TBox Completion: Materializing logical implications of the ontology so database engines can process them without runtime reasoning.
- Query Rewriting (
ref): Modifying user queries to include consistency constraints (e.g., "find Professors who are not also Students"). - Algorithm 1 (ApproxAns): For expressive logics where exact computation is coNP-hard, the system performs "local" consistency checks during data loading to provide efficient upper approximations.
- New Semantics ($clc^+$): A new ICAR-like semantics guaranteed to be computable in polynomial time for expressive logics like Horn-SHIQ.
Experimental Evaluation
The system, SaQAI, was evaluated using the LUBM benchmark. Inconsistencies were injected into a DL-Lite version ($LUBM_{20}^\exists$) with varying probabilities ($10^{-4}$ to $10^{-1}$). Testing spanned datasets from thousands to millions of assertions (e.g., the $A_{20}$ dataset representing 20 universities).
Results
The experimental evaluation demonstrated that SaQAI is several orders of magnitude faster than existing tools. In many scenarios, SaQAI provided answers in milliseconds while competitors required minutes or failed entirely.
As shown in the table, SaQAI maintains robustness even as inconsistency levels and dataset sizes increase. On the most challenging $A_{20}^{2e-1}$ dataset, competing tools encountered timeouts (t/o) or out-of-memory (oom) errors, whereas SaQAI completed processing efficiently. The results also highlight that ICAR answering, previously considered more difficult than IAR, can be performed very efficiently using saturation-based approaches.
Conclusion
SaQAI represents a significant step toward practical, scalable consistent query answering. By utilizing mature database technologies and optimized query rewriting, it enables efficient reasoning over large, inconsistent datasets. While it provides upper approximations for highly expressive DLs, it remains sound and complete for DL-Lite. Future research will explore extending these techniques to even more demanding semantics like AR semantics.
Summary updated