Expand description
§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.
Modules§
- cli
- Shared native file-to-RDF command used by the Rust, Python and Node launchers.
- entailment
- Bounded RDF 1.2 simple-entailment matching over caller-owned immutable graphs.
- reasoning
- Bounded forward execution of shared positive RDF/RDFS structural clauses.
- shacl12
- SHACL 1.2 scheduling over an explicitly supplied native execution backend.
Structs§
- Compiled
Profile - An exact shared RDF profile, compiled into portable checked Datalog rules.
Functions§
- compile_
profile - Compile a named shared RDF profile, rejecting unknown or unsupported selectors.
- profiles
- Enumerate exactly the finite set of available rule-profile selectors.