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 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.
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 -m 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.dev1626172861.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62a3439b56e2940d96c8929d552c0753f9cdcf85d5271399e306c4752429386b |
|
MD5 | 91400596b0484a4c3c524afcb85f1d58 |
|
BLAKE2b-256 | 578b39de8f96abc0f7b05fecacb1c33cf3744131c0d2f157d4b00dc909788e66 |
Close
Hashes for pretty_yarrrml2rml-0.5.dev1626172861-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd9304147c503dec92521e50a7079b8fcfdd9ca5a4ccbcba447e79e89f480ea1 |
|
MD5 | c8f4aa6f4d41e1bd3c0d3eed762fa71f |
|
BLAKE2b-256 | 992e17378a6daf27f6615fd6bf12f593a7a313ec9c10307c393c4d60a61d719d |