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.6.dev1661506811.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9606922d5b37fda70aee2a5df92d69fa1cc02fcc642ef3f10933403a096112ed |
|
MD5 | 6daf023e0cf78e1216a1a5a1bf1a870c |
|
BLAKE2b-256 | a72abd89decff528a00c8d6e05ba4e70a4ff37a88c8bdfe18d30d45f0240ea4f |
Close
Hashes for pretty_yarrrml2rml-0.6.dev1661506811-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8773fabbbd048e51bb664bff5f93a952e87ed6bfe186423fd198e7864d32284 |
|
MD5 | 7c9826071c4ef1e0ad14f763c9087077 |
|
BLAKE2b-256 | b065d097d9d8148e71e11f102fd8997ef8487ce621fce13e06a620e2dff4b249 |