Expand description
OWL RL forward-chaining rule engine.
§Start here — load a file and saturate
use ontologos_parser::load_ontology;
use ontologos_rl::RlEngine;
let mut ontology = load_ontology(std::path::Path::new("ontology.owl"))?;
let report = RlEngine::new(1).saturate(&mut ontology)?;
println!("inferred {}", report.inferred_total());Via Reasoner: use classify_reasoner — not Reasoner::classify.
Structs§
- Inference
Record - A single recorded inference (optional trace for explain v0.6).
- Materialization
Report - Summary of RL saturation over an ontology (includes prior RDFS pass).
- RlEngine
- OWL RL forward-chaining engine with optional parallel execution.
- Triple
Index - Rule-matching index seeded from an ontology and updated as RL rules fire.
Enums§
Functions§
- classify_
reasoner - Run classification when the reasoner profile is
Profile::Rl. - materialize_
reasoner - Materialize OWL RL inferences for a reasoner configured with
Profile::Rl.