PRObs ontology conversion module
This module contains scripts for converting an ontology to Datalog rules and bundling additional required facts together.
These scripts are compatible with RDFox version 7.
Running the RDFox scripts
This module reads the ontology definitions and data, and extracts the equivalent Datalog rules. The data is read from a file called data/ontology.nt. The Datalog rules are written to a file called data/probs_ontology_rules.dlog.
To run the module:
RDFox sandbox <root> scripts/ontology-conversion/master
where <root> is the path to this folder.
Using probs-runner
Using probs-runner, this module can be run using the probs_convert_ontology function.
Custom builds of the ontology including additional data / external ontologies
We build a version of the PRObs ontology bundled with the core external ontologies (PROV, QUDT) that are used with it, for convenience in loading into tools such as RDFox.
If you want to use additional ontologies or data (e.g., details of specific time periods or regions where your data is measured), you may find it useful to create a custom build by modifying the ontologies in the conversion subfolder.
See conversion/README.md for more details.
Metadata
Release files for probs-module-ontology-conversion 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 | Provenance | Actions |
|---|---|---|---|---|
| probs_module_ontology_conversion-2.0.0.tar.gz | 4.5 kB | Without provenance | Details for probs_module_ontology_conversion-2.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| probs_module_ontology_conversion-2.0.0-py3-none-any.whl | Python 3 | none | any | Details for probs_module_ontology_conversion-2.0.0-py3-none-any.whl |
Total release size: 10.8 kB
Release files / probs_module_ontology_conversion-2.0.0.tar.gz
| Download URL | probs_module_ontology_conversion-2.0.0.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
54a4a2b397c300be0a449297bc259a07015bb02abd84c8a480798440f1207ba3
|
|
BLAKE2b-256 checksum How to use checksums |
3202cf5dee0ae4322a6ee8f2ae7af8e2b5c5c1c31acf9b770f176c349d656218
|
| 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_conversion-2.0.0-py3-none-any.whl
| Download URL | probs_module_ontology_conversion-2.0.0-py3-none-any.whl |
|---|---|
| Size | 6.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
10d75f08edd18bebabc37b76186bed8452e63b736a3b30a7eb0673db08695989
|
|
BLAKE2b-256 checksum How to use checksums |
eae262c155494cae8d7ee8aac539af5abb930c6fe5cc70307329419728571285
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Security for probs-module-ontology-conversion 2.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.