# inference-engine
[](https://crates.io/crates/inference-engine)
[](https://pypi.org/project/inference-engine/)
[](https://www.npmjs.com/package/inference-engine)
[](https://github.com/legra-ai/inference-engine/actions/workflows/ci.yml)
[](https://legra-ai.github.io/inference-engine/)
[](LICENSE-MIT)
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](docs/cli.md) 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](docs/alpha-scope.md) explains what works today and how to use
it. [Conformance and testing](docs/conformance.md) explains the test results,
their limits and the work still needed for complete standards support.
## Guides
- [Install](docs/install.md) — uv, pip, pipx, Homebrew, standalone downloads, Cargo and npm.
- [Command line](docs/cli.md)
- [Alpha capabilities](docs/alpha-scope.md)
- [Conformance and testing](docs/conformance.md)
- [RDF/RDFS profiles](docs/rdfs-subclass.md)
- [Source preparation](docs/rdfs-source.md)
- [Target context](docs/rdfs-context.md)
- [Proposition construction](docs/rdfs-targets.md)
- [Checked entailment decisions](docs/rdfs-ground.md)
- [SHACL 1.2 controller](docs/shacl12.md)
- [Alpha publication](docs/publication.md)
## Contributing
See [Contributing](CONTRIBUTING.md) for development setup, documentation builds
and the pull request workflow.
## License
Licensed under either the Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE))
or the MIT license ([LICENSE-MIT](LICENSE-MIT)), at your option.