Skip to main content

A simple implementation of the OWL2 RL Profile, as well as a basic RDFS inference, on top of RDFLib. Based mechanical forward chaining.

Project description

Original Author DOI PyPI badge

OWL-RL Logo

OWL-RL

A simple implementation of the OWL2 RL Profile, as well as a basic RDFS inference, on top of RDFLib. Based mechanical forward chaining. The distribution contains:

OWL-RL: the Python library. You should copy the directory somewhere into your PYTHONPATH. Alternatively, you can also run the python setup.py install script in the directory.

  • scripts/RDFConvertService: can be used as a CGI script to invoke the library. It may have to be adapted to the local server setup.

  • scripts/owlrl: script that can be run locally on to transform a file into RDF (on the standard output). Run the script with -h to get the available flags.

The package requires Python version 3.5 or higher; it depends on RDFLib; version 4.2.2 or higher is required. If you need the python 2.7.x compatible version, see the @/py2 branch in this repository.

For the details on RDFS, see the RDF Semantics Specification; for OWL 2 RL, see the OWL 2 Profile specification.

View the OWL-RL documentation online: http://owl-rl.readthedocs.io/

To view the changelog for this software library, see CHANGELOG.rst.

This software is released under the W3C© SOFTWARE NOTICE AND LICENSE. See LICENSE.txt.

Release Procedure

  • update all the version numbers

  • remove the current dist dir

  • build the new distribution

  • test the metadata rendering

  • test push it to PyPI

  • actually push it to PyPI

rm -vf dist/*
poetry build
bsdtar -xvf dist/owlrl-*.whl -O '*/METADATA' | view -
bsdtar -xvf dist/owlrl-*.tar.gz -O '*/PKG-INFO' | view -

poetry publish --dry-run
poetry publish -u __token__ -p <OWL-RL PyPI Token>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

owlrl-7.1.2.tar.gz (44.9 kB view hashes)

Uploaded Source

Built Distribution

owlrl-7.1.2-py3-none-any.whl (51.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page