Skip to main content

Python bindings for the OntoLogos OWL reasoner (pre-release)

Project description

ontologos (PyPI)

Python bindings for OntoLogos — a modular Rust ontology reasoner for OWL EL, RL, and RDFS.

Alpha package (v0.5.0). See the full guide: docs/guides/python.md.

Capability Rust v0.5 Python v0.5
In-memory ontology model Yes (ontologos-core) No
OWL file loading Yes (ontologos-parser) Partial (Reasoner(path) loads only)
Profile detection Yes (ontologos-profile) No
RDFS materialization Yes (ontologos-rdfs) Partial (Reasoner(path, profile="rdfs"))
OWL RL saturation Yes (ontologos-rl) Partial (Reasoner(path, profile="rl"))
OWL EL taxonomy classification Yes (ontologos-el) Partial (Reasoner(path, profile="el") or "auto")
Full Python API v0.9 / 1.0

For working Rust APIs today, use crates.io crates.

pip install ontologos

Pre-built wheels ship for Linux (x86_64, aarch64), macOS (Intel + Apple Silicon), and Windows (x64, ARM64). Python 3.10+ (abi3 wheel).

import ontologos

print(ontologos.__version__)

# Default profile="auto" routes EL/RL/RDFS by detected profile (v0.5+)
reasoner = ontologos.Reasoner("pizza.owl", profile="auto")
taxonomy = reasoner.classify()

reasoner = ontologos.Reasoner("family.owl", profile="rl")
reasoner.classify()

See the project README and ROADMAP for milestones.

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

ontologos-0.5.0.tar.gz (88.0 kB view details)

Uploaded Source

Built Distributions

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

ontologos-0.5.0-cp310-abi3-win_arm64.whl (1.2 MB view details)

Uploaded CPython 3.10+Windows ARM64

ontologos-0.5.0-cp310-abi3-win_amd64.whl (1.4 MB view details)

Uploaded CPython 3.10+Windows x86-64

ontologos-0.5.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ x86-64

ontologos-0.5.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.4 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ARM64

ontologos-0.5.0-cp310-abi3-macosx_11_0_arm64.whl (1.4 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

ontologos-0.5.0-cp310-abi3-macosx_10_12_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

Details for the file ontologos-0.5.0.tar.gz.

File metadata

  • Download URL: ontologos-0.5.0.tar.gz
  • Upload date:
  • Size: 88.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.14.0

File hashes

Hashes for ontologos-0.5.0.tar.gz
Algorithm Hash digest
SHA256 083dcb5c9607e2295ce48f66aebf2727da5ee3c89cf1f719f63ed3b9c1367060
MD5 55a1c939e73a0aee545bc97c72575bfd
BLAKE2b-256 6af712cbace9a060985d087d7b0e245ac3c892b7bb9a35d74b9be1a168d088cb

See more details on using hashes here.

File details

Details for the file ontologos-0.5.0-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for ontologos-0.5.0-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 511a768cb8eb6d2a8676a8686aeec7d5678b03ddb763b1d7f36dc3a51b06bd15
MD5 7e4112e0b31377daa43bbd6ff6639cd0
BLAKE2b-256 e4f096a6fd166169553b9e575f96e17d02e3b45aac1b8b15307516ab5b2d82b8

See more details on using hashes here.

File details

Details for the file ontologos-0.5.0-cp310-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for ontologos-0.5.0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 8c89d97bc992f97208cbfed9c469e627b7a5ee4ff445df63c35982b6041094b5
MD5 9a100c69dfe5dbf68ccefba78dcaf289
BLAKE2b-256 f69e93a81247dc0889741c737945c0e9fddf9686d158c64bf62d66b52e8531c4

See more details on using hashes here.

File details

Details for the file ontologos-0.5.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for ontologos-0.5.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 501417fce9fa9eb4314d86e3cbb23d5d1ac47cffb8425dd637c8abee9761d6af
MD5 2f1f3b3f73bdb79a3166947c2ad7a332
BLAKE2b-256 5b8fe6771a430416a19e6873081c314daa538fdfc574e0a38d0cdbd123991243

See more details on using hashes here.

File details

Details for the file ontologos-0.5.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for ontologos-0.5.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 81f8a6412e12b63034bea02de88b32425a7c1e89f7de438740b65c322a66c321
MD5 5b3d53afdd562968d0101b39917dc1d6
BLAKE2b-256 a6f292ace2604def0f297aa24b1b6fe179fcc66e4a835b3f5567a54043639182

See more details on using hashes here.

File details

Details for the file ontologos-0.5.0-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for ontologos-0.5.0-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 56dfd0f767cbef195e0d109e54a3cad67b8cc234c6c9481ce14c886b35f076b2
MD5 4d707493dd1c26d3c7508f03505a0f71
BLAKE2b-256 078cc7c78c798c5415a2422b493f44a5347bfd4b4d5d795dd4255ac99c6a359f

See more details on using hashes here.

File details

Details for the file ontologos-0.5.0-cp310-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for ontologos-0.5.0-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 cde226f33e3ec9eb48f3a44f6444385c74810f2e0b58dc03bf06e20af6f29cc0
MD5 c24e14b8787b39c5eb2631f171f58f97
BLAKE2b-256 1e3e7cfa643d4f8e954656414d9b25468cd1bddc57b7233a668879fcf92a7086

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