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
File details
Details for the file pretty_yarrrml2rml-0.6.dev1661437869.tar.gz
.
File metadata
- Download URL: pretty_yarrrml2rml-0.6.dev1661437869.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5843070cef101d38eb7b8aba216029f436c5f617301236b4cba24a08c48ae65e |
|
MD5 | b770e89426cb7263d64e0e8e771b0de9 |
|
BLAKE2b-256 | 35ce39e36a36ad7468996620804b18f1e0a5850def3556a8a72acdace54ad942 |
Provenance
File details
Details for the file pretty_yarrrml2rml-0.6.dev1661437869-py3-none-any.whl
.
File metadata
- Download URL: pretty_yarrrml2rml-0.6.dev1661437869-py3-none-any.whl
- Upload date:
- Size: 10.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bcc3bbce7c1785e62c665bdc75c7a120133ce2f60c1441b44a297a78d5d574b |
|
MD5 | 68c8b2baa2cfa075bcb36b15684689a2 |
|
BLAKE2b-256 | 10bafe09f29436145d4e5ee756e382896a0d678f1fb7c8e2ddaa3f3cd140fb9a |