The tool translates mapping rules from YARRRML in a pretty turtle-based serialization of RML. The translation is based on RML and YARRRML specifications.
We are working on inlcuding the following features which are not yet implemented:
- Translation to R2RML
- Named graphs from R2RML
- Functions included using the FnO Ontology
In order to execute the code run you can download de PyPi module:
python3 -m pip install pretty-yarrrml2rml
python3 -m pretty_yarrrml2rml -i path_to_input_yarrrml.yml -o path_to_output_rml.rml
If you want to include the module in your implementation:
import pretty_yarrrml2rml
import yaml
rml_content = pretty_yarrrml2rml.translate(yaml.safe_load(open("path-to-yarrrml")))
Ontology Engineering Group - Data Integration:
- David Chaves-Fraga
- Luis López Piñero (Final bachelor thesis - v0.1)