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.6.0.tar.gz (88.1 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.6.0-cp310-abi3-win_arm64.whl (1.5 MB view details)

Uploaded CPython 3.10+Windows ARM64

ontologos-0.6.0-cp310-abi3-win_amd64.whl (1.8 MB view details)

Uploaded CPython 3.10+Windows x86-64

ontologos-0.6.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.9 MB view details)

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

ontologos-0.6.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.8 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ARM64

ontologos-0.6.0-cp310-abi3-macosx_11_0_arm64.whl (1.7 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

ontologos-0.6.0-cp310-abi3-macosx_10_12_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

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

File hashes

Hashes for ontologos-0.6.0.tar.gz
Algorithm Hash digest
SHA256 b1fdfb5d4292b03bca05a46d4deafbc8d348cded1104679d3a864d195075660a
MD5 501567d84a84bd550f855feda88329e4
BLAKE2b-256 a442296750f9d4dda4d2abc616540e92774ff1dfd172e7f33ff8dff2b170470b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ontologos-0.6.0-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 735917beaea0ee7164236c1892b4dfb13f33f1fbc5a53b0eca61ad5737325a2a
MD5 de0f136b171a6dadd1cfb37c8395fecf
BLAKE2b-256 d1a0df75869312e434a2f9c1fc81e99b6f055322e45784ee026cca4ef4c167ec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ontologos-0.6.0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 6ea201b20acaacf2a23a1d3321d47670fff4c6f7388286eba1e33b3a26ecf481
MD5 7f25772d7dc105735dad0590718ca069
BLAKE2b-256 02cb72cf23361236185eb37dc50a43c40a20061cf3bbb9b61e0ca0b8997c62c4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ontologos-0.6.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 abf57ca9cac101aa68a51c849302600bb5bbdfbaec8c5f20b5f5e7b9563a6178
MD5 d269fd001788f82b13deaec090de312a
BLAKE2b-256 9e4ef40a31bcf03c857bc306cc02b329b9b58f7084214a5e2baaed7d1160e381

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ontologos-0.6.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f6c376d9dc5ca579bbcc6282ba91d15a752e90e2278b17905bbd0cd151765ecb
MD5 fc7f4ffcff6ee831efdceb9f628958d1
BLAKE2b-256 19b236fca1b99cdcb0a3caf4f736d1d99f64ecb678870a64a84895d6e42739d2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ontologos-0.6.0-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5307376a355534cf29e1e63ef2d1cf1bcfca81059d2ace4a22d24978286f53d7
MD5 7aba07bc4b66e3258fbc00389687759c
BLAKE2b-256 f7cb5234c16d8d1afa81a38bbde0c8d38d0b3e62829e9a9e5a427de0f99cdb8b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ontologos-0.6.0-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 43ad5c526c21c98367ebf710a89e862de3c995c100a508cec4492ce94675f346
MD5 1b9eb80c7d632c920e133d4e706e9077
BLAKE2b-256 f56dccd20b9dc2bb8b272e710b633a1d728d483d7055ad69ee2916e32edfca51

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