SWRL API Reference¶
DLSafe SWRL + DL via ontologos-swrl.
Tutorial: SWRL quick start.
Primary entry points¶
SWRL is routed through ontologos-facade with Profile::Swrl — prefer the facade for CLI/Python parity.
| Function / type | Description |
|---|---|
ontologos_facade::classify with Profile::Swrl |
Full SWRL + DL pipeline |
ontologos_facade::check_consistency |
Consistency with rule grounding |
ontologos_core::SwrlRule |
In-memory rule representation |
Direct crate use is for engine contributors; integrators should use the facade.
Python¶
Constraints¶
- DLSafe rules only — unsafe rules skipped at parse time
- Requires DL-capable ontology shapes for full grounding
- Set wall-clock
budget_secsfor production
Errors¶
Wrapped as ontologos_facade::Error::Swrl or Error::Dl depending on failure phase.
docs.rs¶
Full API: docs.rs/ontologos-swrl/1.0.0