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

Capability Rust v0.6 Python v0.6
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.6.1.tar.gz (90.3 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.1-cp310-abi3-win_arm64.whl (1.3 MB view details)

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

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

Uploaded CPython 3.10+macOS 11.0+ ARM64

ontologos-0.6.1-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.6.1.tar.gz.

File metadata

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

File hashes

Hashes for ontologos-0.6.1.tar.gz
Algorithm Hash digest
SHA256 e7a5246da6588b6234ec972a3ad9a99441a92f1b9e9af348ced9000a64db4e72
MD5 e7ad9c6d1d4a58df1f7b5280d5a6527e
BLAKE2b-256 9d3912a1598894017aa6df793f19019fbaf0ff01801aeab2ec4d90260f649840

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ontologos-0.6.1-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 1266166b671bef58c1b9f99136c031b37fc1c903bd4b384e3b56c6c6ad107e36
MD5 a5d075106873697e5c72ad69c06f5037
BLAKE2b-256 69d58b8060ff913191fdf017c97f4cdf51b95ada065f422044bc3a4822492cd9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ontologos-0.6.1-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 f0004620180f4dc0f4815e6774be4ad5e5c29b6a490acdabbceb9b1922661e27
MD5 d05fda58e2d5bb5b387d5b47794f8680
BLAKE2b-256 57795a610fa56413276028d5856e6f0e0dd0a02147f17abb02997c6b1e8eb962

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ontologos-0.6.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c318f734e40c6aee79470b8df83982d01dc739b7a1f34c6af3c5338baba4b990
MD5 32b811611042436230b39faff668c353
BLAKE2b-256 ac9211b7d824af3079f4d76bd6bbeb173aea8cdfb45f628340c60a1c4add1296

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ontologos-0.6.1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 43d95a6dc3479bd1910ac23e0a78838d693eabf54dd5c5a8f178868d93832259
MD5 777ed82b4c29fe7f5a9d19e65fa69b9a
BLAKE2b-256 e4e245e31741add18411a3ac8e62f20357aec4e3a7628505bc7bc068a7d9a1c7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ontologos-0.6.1-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6e4e287b1338a767ec5841d360ea9d309edfca89e02c1510b757635437f688e9
MD5 fdac5fb239bf37f13374b6643f0ef010
BLAKE2b-256 4cc850a93e15ab1e4b0639cba4bd6a37e37ff2a79f1b96d53a70dbbfea6fc67c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ontologos-0.6.1-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 2b908ac3d1890b986c6a213c46d0dbf75e9cc91719422a7ed21f48ea1bc49556
MD5 b625f80bf2502366ab6b29643acccbe1
BLAKE2b-256 2004eae4f52d34471c591a9f30a645ceb1fbda2a6c1726ccf7b0d12c203e1dae

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