pyreasonable 0.3.2

An OWL 2 RL reasoner with reasonable performance
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! The `reasonable` package offers a library, binary and Python bindings for performing OWL 2 RL
//! reasoning on RDF graphs. This package implements the Datalog rules as communicated on the [W3C
//! OWL2
//! Profile](https://www.w3.org/TR/owl2-profiles/#Reasoning_in_OWL_2_RL_and_RDF_Graphs_using_Rules)
//! website.
mod pyreason;
use pyo3::prelude::*;

#[pymodule]
fn reasonable(_py: Python<'_>, module: &Bound<'_, PyModule>) -> PyResult<()> {
    module.add("__package__", "reasonable")?;
    module.add("__version__", env!("CARGO_PKG_VERSION"))?;
    module.add_class::<pyreason::PyReasoner>()?;
    Ok(())
}