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.

This is an alpha placeholder (v0.3.1). The package installs and reports its version. Reasoner(path) loads OWL files via the Rust parser. Pass profile="rdfs" to run RDFS materialization via classify(); the default profile returns not-implemented until OWL EL/RL classification ships in v0.5.

Capability Rust v0.3 Python
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 classification No (v0.5) No
Full Python API v0.9 / 1.0

For working Rust APIs today, use crates.io crates (ontologos-core, ontologos-parser, ontologos-profile, ontologos-rdfs).

pip install ontologos
import ontologos

print(ontologos.__version__)

reasoner = ontologos.Reasoner("ontology.owl", profile="rdfs")
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.3.1.tar.gz (59.6 kB view details)

Uploaded Source

Built Distribution

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

ontologos-0.3.1-cp311-cp311-manylinux_2_34_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.34+ x86-64

File details

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

File metadata

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

File hashes

Hashes for ontologos-0.3.1.tar.gz
Algorithm Hash digest
SHA256 4105d22027f464b287dfb0bc405d684623e16bc85a92c5f5bc910125b77550ad
MD5 0b3a6e35a0d733e219cf6f53e85d683b
BLAKE2b-256 680f4becd84290153101dfa542f35b2f8feebb20a4b87dbea2e6470f06726498

See more details on using hashes here.

File details

Details for the file ontologos-0.3.1-cp311-cp311-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for ontologos-0.3.1-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 50d895bcec83f2786f7b040b5fd221069df88f6b701ed13683fda5f07f06b0bb
MD5 ee491df0fcc6ab54f641f57b412c9ca8
BLAKE2b-256 21eecf9c5a005a9db9b7e276a2fa3597d915d52e2e816ecd71f0f615e4b53f9f

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