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.0). 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.0.tar.gz (59.2 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.0-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.0.tar.gz.

File metadata

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

File hashes

Hashes for ontologos-0.3.0.tar.gz
Algorithm Hash digest
SHA256 94fdd2ba27a33153cfb1e0753ddca31cd74ac4902ed4bd1c7513e22b7fd88df2
MD5 585be8307e771832eb705ad75e442567
BLAKE2b-256 ab50ddba0acf4ffa3ecdb3ead40a4a852532a4ad5bb42c09e81b1a4e06cc8d05

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ontologos-0.3.0-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 fc7365e587bf52745841385ad222b139793820d81a609c679b512b6822f83140
MD5 686e8dc6ea227547faee97dc742a10ab
BLAKE2b-256 f2982658021a341a8d327cec071296b089ab5c45320cbe7572717141c2c9214e

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