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.4.0). See the full guide: docs/guides/python.md.
Always pass
profile=—Reasoner(path)without a profile uses"auto", which fails in v0.4.
| Capability | Rust v0.4 | Python v0.4 |
|---|---|---|
| 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 | No (v0.5) | No |
| Full Python API | — | v0.9 / 1.0 |
For working Rust APIs today, use crates.io crates.
pip install ontologos
import ontologos
print(ontologos.__version__)
# Always set profile= — default "auto" fails in v0.4
reasoner = ontologos.Reasoner("ontology.owl", profile="rdfs")
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ontologos-0.4.0.tar.gz.
File metadata
- Download URL: ontologos-0.4.0.tar.gz
- Upload date:
- Size: 78.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
edc421a13f3d1bcdcd591e485207e94b7d234a8ee7408e7061d05184e5af002a
|
|
| MD5 |
6da77ec4d557e8064a8523a3373cb508
|
|
| BLAKE2b-256 |
6647b2c0ab9e76fff57027d661897c01bfbc5c3cda704a251aa2b56c498049c4
|
File details
Details for the file ontologos-0.4.0-cp311-cp311-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: ontologos-0.4.0-cp311-cp311-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 1.5 MB
- Tags: CPython 3.11, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5213e8d0723d581fe47c3e8e2db2e4b0c88f41139ddbac28dba9296528994333
|
|
| MD5 |
8f5f1ef03ece0133ba7ca7feb921a987
|
|
| BLAKE2b-256 |
2d8ae20291fbae7199b46f8b5a49779c3a5c4027697a5c2ec0aa97e1a49613ff
|