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

Capability Rust v0.8.0 Python v0.8.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.8.0.tar.gz (105.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.8.0-cp310-abi3-win_arm64.whl (1.3 MB view details)

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

ontologos-0.8.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.6 MB view details)

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

ontologos-0.8.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.8.0-cp310-abi3-macosx_11_0_arm64.whl (1.5 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

ontologos-0.8.0-cp310-abi3-macosx_10_12_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

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

File hashes

Hashes for ontologos-0.8.0.tar.gz
Algorithm Hash digest
SHA256 a2e79488063c386c8f0f90edcfca94e4099db7841bf2311b95762ebfcadfe5ea
MD5 85d0b2e1b3adf67c9e17529e107a772b
BLAKE2b-256 7b9e77d556c049c0709cdfb864bc7114974f7bca2d95179462bb839b67f64521

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ontologos-0.8.0-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 d22cbf87ab70bbff12db06222f3358a80d22e0c0d62bbfe5ed746464705bda36
MD5 9f6f0759113ed674f6dc4c06c3e69582
BLAKE2b-256 967797a336cca2999d30480b32241177a83a034b04dea9108eae53d8eb6ce0d9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ontologos-0.8.0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 6cbf6f36cf27ba80558d1ff9ca317573dd1e64ae46fe7b1d5b5c676d28ce47db
MD5 50aaea224a4a4e81ffbdf55ed1fb5522
BLAKE2b-256 a4067389a898a7ac46934dd14787e55abd76bc69759d755c9a2358a72dc60b87

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ontologos-0.8.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3493ef959ff895cd52deb6877a12d770ee2c59ddae294abd5c242ece6007c3e6
MD5 32eef20212bf05eca0eb84ddb0056e49
BLAKE2b-256 9169031a49810b25128f76548bbe7500fda453fbbda9080ca530c11aa9aa4a75

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ontologos-0.8.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 14c1c0318eb73e0736c630e952bce7b753804860b2a2920273fa1ac043514d05
MD5 59c95202aee9c69e93d9267d76fe0228
BLAKE2b-256 eab467fe8c62b0a4eac98fc626390497d7ef17d22f5521f30ee135a3ddb3ddfe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ontologos-0.8.0-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 afc20f2a2f05e86cfe875bcf75aa48d51a6071db5e3d2274d4248e629f85e16d
MD5 a2e4553a6234feaec742234feb4f2dd1
BLAKE2b-256 1b7ee754702eda324bcaab0f384cc42b881cf6855d7397cff0088517fc323e9c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ontologos-0.8.0-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 64dec8bfdd5713121cd70c09b4b56d447b5d9cf7c20823397a0c9e09d611a17d
MD5 068d52b9a5a2522eefbbded56c35dc51
BLAKE2b-256 3a9d99fd8b489d03547146e64ed918dcab54b1abd3a4ac4e552d2361817981c8

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