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.dev1626691470.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10604b83f49c35f90844a088cf32067f08a2f4c4fb8509b427f3c556e184f008 |
|
MD5 | cce22f00b1d2fe989f80a7134b26c643 |
|
BLAKE2b-256 | 2176822e31afe06966fe5e099db714519887cb1fd8230fd3738a06c9c8e00b1c |
Close
Hashes for pretty_yarrrml2rml-0.5.dev1626691470-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6aeb8ffc4260803440f15eb4144da393523ac0a873dd2300e0987ed21cdfec71 |
|
MD5 | 023b7a08d71a428033f4558b28ec6bb2 |
|
BLAKE2b-256 | bfe5395d646b6482bc1699a6ff99deed6f582ed322ce4bf79493daee4a3b8975 |