The tool translates mapping rules in RML from YARRRML serialization to RDF turtle in a pretty and interpreatable way for humans. The translation is based on RML and YARRRML specifications.
Project description
Pretty-yarrrml2rml
The tool translates mapping rules from YARRRML in a pretty turtle-based serialization of RML. The translation is based on RML and YARRRML specifications.
Limitations:
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
Execution
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")))
Authors
Ontology Engineering Group - Data Integration:
- David Chaves-Fraga
- Luis López Piñero (Final bachelor thesis - v0.1)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for pretty_yarrrml2rml-0.5.dev1626185970.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6455ea6f10f01f729c755108f9e5dcdd2c5bc84343841859b59b19f948658195 |
|
MD5 | e9fa8aeeadf9754036746b70f1898ab4 |
|
BLAKE2b-256 | 7b5eff3d0e9f2d695cef37a286f07b3c155448f921e8b1f70df7240836ae24d9 |
Close
Hashes for pretty_yarrrml2rml-0.5.dev1626185970-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c6c81649e64aa6cb8059271009de57bb32e92b88ce0cbe6e28ae998f1f16aae |
|
MD5 | 6c07a7f1620dcd631664f38e5c89df81 |
|
BLAKE2b-256 | fad7e8dbc3d832719a075a6ac93d4205daaa6b61a350688c3e6aa9d49d75484b |