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.7.0). See the full guide: docs/guides/python.md.

Capability Rust v0.7.0 Python v0.7.0
In-memory ontology model Yes (ontologos-core) No
OWL file loading Yes (ontologos-parser) Partial (Reasoner(path) loads only)
Profile detection Yes (ontologos-profile) Via "auto" only
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__)

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.7.0.tar.gz (92.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.7.0-cp310-abi3-win_arm64.whl (1.3 MB view details)

Uploaded CPython 3.10+Windows ARM64

ontologos-0.7.0-cp310-abi3-win_amd64.whl (1.6 MB view details)

Uploaded CPython 3.10+Windows x86-64

ontologos-0.7.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.7 MB view details)

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

ontologos-0.7.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.6 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ARM64

ontologos-0.7.0-cp310-abi3-macosx_11_0_arm64.whl (1.5 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

ontologos-0.7.0-cp310-abi3-macosx_10_12_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

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

File hashes

Hashes for ontologos-0.7.0.tar.gz
Algorithm Hash digest
SHA256 780b7532eb9efa7c2d1f8ec35ae0bb2ea5611dbf45afbcbc1558c7c45d609fd8
MD5 d90b77970e17d4fc95a959e6bd6290fc
BLAKE2b-256 55139d5ca550fc8f0bb7b83f61b07c18ac9566f9249074348aee8fa32708e20b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ontologos-0.7.0-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 9ef5a8106b84d7bd954a4421f118c57783d86379cced6cfff6a2b42845465cb4
MD5 36191a8b4f91efc14ba305c8f00ae6d0
BLAKE2b-256 ce53fdcb149e0b6348c76a2dc10627037b70209f19e0441b80267d31331b88f1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ontologos-0.7.0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 0e9d37bb36b9e4ccd133eedbb587cd902afee38a519fe581298df4ac287cb207
MD5 a69dc537113b7066731f9503f9a8f13a
BLAKE2b-256 3ee46b1e8b9058c26565f1ca0a6039f320b80945dca10fac71d8418137d57a3b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ontologos-0.7.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 aab283c2f601292b2a94ae9c5a145e3971db399a025e4f0087eca3906ca8e7c8
MD5 7d29cd4ed8f06bc4e2d2b9d74199582b
BLAKE2b-256 0b3b12bb61f19b507bbb2a23a794273bd6822d90bdbc33d841e4b0a9ea3a5df4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ontologos-0.7.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 27ecbb277606cfcd98e1fd5e7d03e5df886a25ced0d040d0e4438081fe1907d6
MD5 c74a57c8fcaaf9d3897e1e88dc4ab3dd
BLAKE2b-256 2deafeda28c4a0cd9f29dd7f3012a1d09c8e43d0c79ad7e2f551d57047e2ba3e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ontologos-0.7.0-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 61065b638a68bf4655899145fccfc98f3a93b4862719579207605403861827fb
MD5 7cbc50bf1c673f1d879bf94071aaf701
BLAKE2b-256 3b137a6e127cdce8377e2a9055ab9d7562fff9b02ae553073c6a21ac035ba19e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ontologos-0.7.0-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 007aed2c4da8aa6ae0026eec83c08cd431453a2d886f33eac4b7395023558479
MD5 d189a021d070b9d5b9d20b82fa557d54
BLAKE2b-256 d1f9258ed6a9b6fbb8e6ddbf5d9f81345445efb701674ffbaa5e64ccf8b60647

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