inference-engine
Native Rust inference foundation for RDF and Datalog, with Python and Node.js bindings.
Alpha scope
The first alpha compiles named rdf-reasoning profiles into checked portable
Datalog programs and reports their explicit exclusions. Rust, Python and Node.js
use the same Rust implementation and published semantic dependencies.
Graph evaluation, materialization, Oxigraph integration and SHACL inference are not implemented in this alpha. A compiled rule profile is not a claim of engine capability, complete RDFS/OWL-RL support or consistency checking.
let profile = compile_profile?;
assert_eq!;
# Ok::
=
const = require;
console.log;
Unsupported selectors fail; full owl2-rl is not an alias for a restricted profile.
Python requires 3.11+; Node.js requires 22+. Native artifacts target Linux glibc
x64/arm64, macOS x64/arm64, and Windows x64. No Python or JavaScript evaluator is
used when the native module is missing.
Development and releases
Rust is pinned in rust-toolchain.toml; formatting has an independent nightly
pin. cargo test --locked runs public API tests. Commit hooks run formatting and
Clippy. python3 scripts/test-release.py checks the release contract.
Cargo is the version authority: 0.1.0-alpha.1 maps to Python 0.1.0a1 and npm
0.1.0-alpha.1. All three publish from one tested revision. npm uses the alpha
dist-tag; GitHub releases remain prereleases. Stable promotion is a deliberate
future change. See publication setup.
License
Licensed under either the Apache License, Version 2.0 (LICENSE-APACHE) or the MIT license (LICENSE-MIT), at your option.