Custom builds of the ontology including additional data / external ontologies
To create a converted/bundled ontology, ready for use with the PRObs system scripts (e.g. kbc-completion and endpoint):
-
Convert the ontology to Datalog rules:
python convert_ontology.py [PATH TO ontology.nt] -
The converted files are in
conversion/data/probs.ttlandconversion/data/probs_ontology_rules.dlog
To release a new version of the converted/bundled ontology as a module for use with probs-runner:
-
Edit package version/metadata in
pyproject.toml. -
Build the package:
python -m build -
Publish the package to PyPI:
twine upload dist/probs_module_ontology-[...]
Metadata
Release files for probs-module-ontology 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| probs_module_ontology-2.0.0.tar.gz | 8.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| probs_module_ontology-2.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.6 kB
Release files / probs_module_ontology-2.0.0.tar.gz
| Download URL | probs_module_ontology-2.0.0.tar.gz |
|---|---|
| Size | 8.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fbcc74f515d804df06327666b24f08e2ece9149df060feab3f3b480370a582d3
|
|
BLAKE2b-256 checksum How to use checksums |
80c7bc15145d3139cc9d4933bb7416825796ea0210eafd2eefa115b21b2e042a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Release files / probs_module_ontology-2.0.0-py3-none-any.whl
| Download URL | probs_module_ontology-2.0.0-py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
341c536e1f861f751e9e599974421d094d678a6785259ba73a6eb38a1a3ecdb3
|
|
BLAKE2b-256 checksum How to use checksums |
22f076a5dd6794d5cf7c86c01c507eeb3fac73bc4eb9bb96becad8a94b1417a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|