A simple implementation of the OWL2 RL Profile, as well as a basic RDFS inference, on top of RDFLib. Based mechanical forward chaining.
Maintained. Last release 5 months ago, commits in 6 of the last 26 weeks. Weaker on security practices.
pip install owlrlOWL-RL
A simple implementation of the OWL2 RL Profile, as well as a basic RDFS inference, on top of RDFLib, based on forward-chaining.
Installation
This package requires RDFLib 7.6.0 or newer. It can be installed from the Python Package Index in the usual way:
pip install owlrl
or
poetry add owlrl
Optional: run the closure against an Oxigraph in-memory store by installing the extra:
pip install "owlrl[oxigraph]"
Use
This package can run inference according to RDFS and/or OWL-RL.
For details on RDFS, see the RDF Semantics Specification; for OWL 2 RL, see the OWL 2 Profile specification.
View the OWL-RL documentation online:
Scripts
This Python package contains a couple of Command Line scripts:
-
scripts/RDFConvertService: a CGI script to invoke the library- It may have to be adapted to the local server setup.
-
: a script that can be run locally to transform a file into RDF (on the standard output)
