Skip to main content

OntoRipple: A Tool to Propagate Changes to Semantic Artifacts.

GitHub DOI GitHub Release

OntoRipple is a tool for propagating ontology changes to declarative mappings in RML, and validation shapes in SHACL. The tool requires as input the updated version of the ontology in OWL, the outdated mappings in RML if there are, the outdated shapes in SHACL if there are, and the change data, that has to be in RDF, and compliant with the OWL Change Ontology model.

How to run it?

python3 -m pip install ontoripple
python3 -m ontoripple -c path_to_change_kg.nt -m path_to_old_mapping.rml.ttl -s path_to_old_shapes -o path_to_new_ontology.ttl -nm path_output_mappings.rml.ttl -nsh path_output_shapes.sh

Options:

-c, --changes_kg_path <arg>        Path to a change KG compliant with OCH
-m, --old_mapping_path <arg>       Path to the old mapping rules (previous version) in RML
-s, --old_shacl_path <arg>         Path to the old validation shapes (previous version) in SHACL
-o, --ontology_path <arg>          Path to the new version of the ontology
-nm, --new_mappings_path <arg>     Path to the output files, updated version of the mapping rules
-nsh, --new_shapes_path <arg>      Path to the output files, updated version of the mapping rules
-y, --yarrrml                      Output mappings will be also translated to YARRRML (RML turtle by default)

How to run the examples.

This software tool is motivated by the Public Procurement Data Space, and the eProcurement Ontology. Within the PPDS folder there is the data corresponding to the changes between the 3.0.0 and 3.0.1 versions of the ontology: the change data, the outdated and updated mappings, and the outdated and updated shapes. The code for generating the updated mappings and shapes is the following:

python3 -m ontoripple -c ./change_data_3.0.1.nt -m ./ePO_mappings.rml.ttl -s ./ePO_shacl_shapes_3.0.0.rdf -o ./ePO_owl_core_3.0.1.rdf -nm ./updated_mappings.ttl -nsh ./updated_shapes.ttl

Architecture

OntoRipple Architecture

Authors

  • Diego Conde Herreros (OEG-UPM) - main contact diego.conde.herreros at upm.es
  • David Chaves-Fraga (CiTIUS-USC)

Metadata

Release files for ontoripple 1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ontoripple 1.0
File Size Uploaded
ontoripple-1.0.tar.gz 19.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ontoripple 1.0
File Interpreter ABI Platform
ontoripple-1.0-py3-none-any.whl Python 3 none any Details

Total release size: 40.0 kB

Release files / ontoripple-1.0.tar.gz

Download URL ontoripple-1.0.tar.gz
Size 19.7 kB
Tags Source
SHA-256 checksum
How to use checksums
fc79c4269b79e0f14cefe8f97efd4a162c9edd6e42c901ca2377613b93538e3e
BLAKE2b-256 checksum
How to use checksums
f62031ea3f98f535d5d95f449e325254e5fed42143378f846b872bb96c3c3534
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.0.1 CPython/3.11.9 Windows/10

Release files / ontoripple-1.0-py3-none-any.whl

Download URL ontoripple-1.0-py3-none-any.whl
Size 20.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b366f8633f9f56c2e6d25a09c7147926b6d5c783b7755e0d338d1bf0c0f6fafb
BLAKE2b-256 checksum
How to use checksums
9f9a4f46db49a2982668a64c5219158da337f9afd869a95c43a43fe784b19aca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.0.1 CPython/3.11.9 Windows/10

Release history Release notifications | RSS feed

This release

1.0 This release

2 release files

0.2.2

2 release files

0.2

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page