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.dev1661324634.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a7a100c7a50586be30ef7d14ff5265db5d2fbec6895e4286566fb45b8a3072c |
|
MD5 | c7f8b20de19eb7038fcae249c57a3d21 |
|
BLAKE2b-256 | 59d3fd93775c2d30ba5136faf47d6a654938b27137c008f74dce5299e98cfacd |
Close
Hashes for pretty_yarrrml2rml-0.5.dev1661324634-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64d77988e49ddd34a37bf2a301fac257858cc2b9e7963b5a9f0fa5cd10a192c9 |
|
MD5 | c0914289d847209c80b8505a3065cfe6 |
|
BLAKE2b-256 | 3bac4ca3b40980f9db7bc53fc2b4d2ffd97b8860c4061ee06c4a054962160967 |