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 on forward chaining.

This package is a Python library that also contains a couple of scripts:

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

  • scripts/owlrl: a 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.

Installation

This package requires RDFLib 7.1.3 as its only dependency and it can be installed from the Python Package index in the usual way:

pip install owlrl

or

poetry add owlrl

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: http://owl-rl.readthedocs.io/

License

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

Support & Contacts

For general “how do I…” queries, please use https://stackoverflow.com and tag your question with rdflib. Existing questions:

If you want to contact the rdflib maintainers, please do so via:

Development

Changes

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

Release Procedure

  • update all the version numbers

    • pyproject.toml

    • README.rst

  • 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>
  • commit the version update

  • tag it

  • push the commits & tag to GitHub

  • make a GitHub release

    • reuse the CHANGELOG entry for the release

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.4.tar.gz (44.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

owlrl-7.1.4-py3-none-any.whl (52.0 kB view details)

Uploaded Python 3

File details

Details for the file owlrl-7.1.4.tar.gz.

File metadata

  • Download URL: owlrl-7.1.4.tar.gz
  • Upload date:
  • Size: 44.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.13.1 Darwin/24.5.0

File hashes

Hashes for owlrl-7.1.4.tar.gz
Algorithm Hash digest
SHA256 60bd4067e346b9111f0a2924565afe97ac6595b98b2bbe953928b5113971daf7
MD5 a6b7a770a282630a3c52f0b38a3495ac
BLAKE2b-256 d1fcce12482d096d65fff01af58f555a6f25e9dbf416fad5d99f91eaab0e11ca

See more details on using hashes here.

File details

Details for the file owlrl-7.1.4-py3-none-any.whl.

File metadata

  • Download URL: owlrl-7.1.4-py3-none-any.whl
  • Upload date:
  • Size: 52.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.13.1 Darwin/24.5.0

File hashes

Hashes for owlrl-7.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e78b46020169783345636da93a467d318f18700c483184dd15e885850cf64775
MD5 6c4e2b61743d48cf5899ccdb8b5585dd
BLAKE2b-256 de78f857ff1a7207e967dc5e8414bbcc15e0aa5cf45f693b1d2ebe2afb3eb1ce

See more details on using hashes here.

Supported by

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