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.dev1661441159.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 839efb6a268f5debb12e32eccc92604be95922c6cb9ae2d8e34ef6ddaca68023 |
|
MD5 | 67abd21d9d9184fdbea471f2d1ae0615 |
|
BLAKE2b-256 | 3755637d045f298c994f36bd852b1618f7a82350a21538ddb9db1c743eff2d10 |
Close
Hashes for pretty_yarrrml2rml-0.6.dev1661441159-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2bf7a982b0df0e9f24516a68e95b84269928be9a9861c07f17adfc3b78848e74 |
|
MD5 | 7fcc7f28d053c14077df5c80a636c3b5 |
|
BLAKE2b-256 | 23866262abda298b2750706724b5804fe95669d7ba8ccecf1546ed95d1a10a7a |