inference-engine
A native Rust library that derives new facts from RDF graph data. For example, if every Dog is an Animal, the engine can infer that a known Dog is also an Animal. Applications connect their graph database through Rust storage adapters, or use the command-line tool to infer facts from RDF files.
Current status
This project is in alpha. Rust can execute selected RDF/RDFS inference rules; All distributions include the command-line tool. Full RDFS 1.2 reasoning is in development, followed by OWL-RL, general Datalog and SHACL 1.2.
Alpha capabilities explains what works today and how to use it. Conformance and testing explains the test results, their limits and the work still needed for complete standards support.
Guides
- Install — uv, pip, pipx, Homebrew, standalone downloads, Cargo and npm.
- Command line
- Alpha capabilities
- Conformance and testing
- RDF/RDFS profiles
- Source preparation
- Target context
- Proposition construction
- Checked entailment decisions
- SHACL 1.2 controller
- Alpha publication
Contributing
See Contributing for development setup, documentation builds and the pull request workflow.
License
Licensed under either the Apache License, Version 2.0 (LICENSE-APACHE) or the MIT license (LICENSE-MIT), at your option.