Skip to main content

Managing the evolution of associated knowledge graph assets

Project description

OntoRipple: A Tool to Propagate Changes to Semantic Artifacts.

![GitHub]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)

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

ontoripple-0.2.2.tar.gz (19.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ontoripple-0.2.2-py3-none-any.whl (20.4 kB view details)

Uploaded Python 3

File details

Details for the file ontoripple-0.2.2.tar.gz.

File metadata

  • Download URL: ontoripple-0.2.2.tar.gz
  • Upload date:
  • Size: 19.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.11.9 Windows/10

File hashes

Hashes for ontoripple-0.2.2.tar.gz
Algorithm Hash digest
SHA256 2ef9dae041ba2e1eaba9f4714666ccc6996f78edbe7940f235db16735ca0328b
MD5 90c1853410bbdf9e599bc289a2ebd375
BLAKE2b-256 7656ecc9e9b40d8b744d8af896c8ddeb03061c381bc4730fd89f1e9e56c18871

See more details on using hashes here.

File details

Details for the file ontoripple-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: ontoripple-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 20.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.11.9 Windows/10

File hashes

Hashes for ontoripple-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ecf0ffd24202bfa1cd37d5de1454e848544adaf59715894c7766bb0fea8cd365
MD5 64d2f152af61643a2f5e8399eaacf4eb
BLAKE2b-256 626c6988e20b3775e47f02ada9a8b4bef06c4a1b256bc18dd31363a5da9a66fa

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