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.1.dev1661763374.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc5fa2006e547c03b66303ff025924713b61b4a9cfa8e0b1478acd96f2e9340d |
|
MD5 | 535a06bef672ea9aa94b3ed183913afd |
|
BLAKE2b-256 | de34fb12f2eea3368c09cc979b1f2c0dcf8724994b06adf62d68caab59d73bde |
Close
Hashes for pretty_yarrrml2rml-0.6.1.dev1661763374-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba54d41c1da0f51ac07cbdcad35328166eda6d6374b16816c6b96833e1c0084f |
|
MD5 | 876eab6ff1936c1139123aae45de0235 |
|
BLAKE2b-256 | 12a817bbaf030ebccf8b2b63cc57c80209b502d1f1a78618f874f17341287260 |