OCP2KG is a tool for propagating ontology changes to declarative mappings. The tool requires as input the updated version of the ontology in OWL, the outdated mappings in RML, and the change data, that has to be in RDF following the OWL Change Ontology model.
python3 -m pip install -r requirements
python3 evol_kg.py -c path_to_change_kg.nt -m path_to_old_mapping.rml.ttl -o path_to_new_ontology.ttl -n path_output_mappings.rml.ttl
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
-o, --ontology_path <arg> Path to the new version of the ontology
-n, --new_mappings_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)
If you used OCP2KG in your work, please cite it as:
@inproceedings{herreros2024propagating,
title={{Propagating Ontology Changes to Declarative Mappings in the Construction of Knowledge Graphs}},
author={Diego Conde Herreros and Lise Stork and Romana Pernisch and Mar{\'\i}a Poveda-Villal{\'o}n and Oscar Corcho and David Chaves-Fraga},
booktitle={Fifth International Workshop on Knowledge Graph Construction@ESWC2024},
year={2024},
url={https://openreview.net/forum?id=ONL4LGlHNu}
}
- Diego Conde Herreros (OEG-UPM) - main contact diego.conde.herreros at upm.es
- David Chaves-Fraga (CiTIUS-USC)