Introduction
Reasoning is the foundational "brain" of knowledge-based systems, enabling automated consistency checking and class hierarchy computation. For expressive Description Logics (DL) like $SROIQ$, which underpins the OWL 2 DL standard, reasoning is computationally intensive (N2EXP-TIME complete). Traditional reasoners often rely on tableau-based algorithms that build models of data, which can be redundant and slow. Sequoia introduces a high-performance alternative using consequence-based (CB) reasoning, extending this efficient paradigm to support nominals and nearly the entire OWL 2 DL language.
System Architecture
Sequoia is designed as a modular engine that interfaces with standard OWL tools while employing a specialized internal reasoning pipeline.
The engine consists of two primary components:
- Ontology Loader: Performs preprocessing, including Role Inclusion Axiom (RIA) encoding, clausification, and indexing.
- Context Structure Manager: The core reasoning unit that handles saturation and taxonomy construction.
Methodology: Consequence-Based Reasoning with Nominals
The core innovation in Sequoia is its use of a Context Structure. Instead of a global search, Sequoia organizes logical clauses into "contexts" arranged in a graph. Each context represents a specific set of elements in a potential model, allowing for goal-directed, distributed inferences.
To handle nominals (enumerated individuals like {Italy, France}), Sequoia utilizes a "root context." A significant optimization involves splitting this root into separate "nominal contexts" for each individual. This approach prevents the root context from becoming a bottleneck and facilitates future parallelization. Furthermore, Sequoia employs a Two-Phase Saturation strategy: it first processes the deterministic "Horn" part of the ontology before addressing non-Horn (disjunctive) components, effectively mitigating combinatorial explosions.
Evaluation and Key Results
Sequoia was evaluated against a massive corpus of 777 DL ontologies from the Oxford Ontology Repository. This diverse dataset included ontologies with complex TBox nominals and simpler OWL 2 EL fragments.
The results highlight Sequoia's robustness and efficiency:
- Classification Success: Sequoia successfully classified more ontologies than any other tested reasoner, including HermiT, Pellet, FaCT++, and Konclude.
- Scalability: For complex ontologies requiring more than 30 seconds to process, Sequoia consistently outperformed its competitors.
- "Pay-as-you-go" Performance: Sequoia demonstrates a unique ability to scale its effort to the complexity of the task. On simple ontologies, its speed rivals specialized reasoners like ELK, while it remains competitive on highly expressive $SROIQ$ tasks.
Limitations and Future Outlook
While Sequoia represents a significant advancement, several areas for improvement remain. The current version lacks support for datatypes (e.g., strings, numbers), which are prevalent in real-world applications. Additionally, certain "non-Horn" ontologies with "at-most" number restrictions can still lead to clause blow-up. Finally, while the context-based architecture is inherently parallelizable, the current implementation operates in single-threaded mode; future releases aim to fully leverage multi-core processing to further enhance performance.
Summary updated