Pretty-yarrrml2rml
The tool translates mapping rules from YARRRML in a pretty turtle-based serialization of RML. The translation is based on [RML]((https://rml.io/specs/rml/ "RML Spec") and [YARRRML]((https://rml.io/yarrrml/spec/ "YARRRML Spec") 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)
Metadata
Release files for pretty-yarrrml2rml 0.6.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pretty_yarrrml2rml-0.6.1.tar.gz | 9.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pretty_yarrrml2rml-0.6.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.5 kB
Release files / pretty_yarrrml2rml-0.6.1.tar.gz
| Download URL | pretty_yarrrml2rml-0.6.1.tar.gz |
|---|---|
| Size | 9.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fb93af87af2efbe6473f540adcda7902097fabf4507ee4828f2f741e5128490f
|
|
BLAKE2b-256 checksum How to use checksums |
1662fea2b8cf91eabc2d38cdb20ef56a3047285c37dbec8232628ae8732bd777
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|
Release files / pretty_yarrrml2rml-0.6.1-py3-none-any.whl
| Download URL | pretty_yarrrml2rml-0.6.1-py3-none-any.whl |
|---|---|
| Size | 10.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5bb010f4df97fc222d1bd02d4c584c2f6386a7d5abaa2bac6d08d1e89185c3de
|
|
BLAKE2b-256 checksum How to use checksums |
dbf6ead155a13ea4a8da315f0fa18153e9e9e43534b458cea29a5323ef8c7599
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|