This release is a pre-release and may not be stable for production use.
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.5.dev1661325171
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.5.dev1661325171.tar.gz | 9.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pretty_yarrrml2rml-0.5.dev1661325171-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.7 kB
Release files / pretty_yarrrml2rml-0.5.dev1661325171.tar.gz
| Download URL | pretty_yarrrml2rml-0.5.dev1661325171.tar.gz |
|---|---|
| Size | 9.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9c756a7056d6c2c00b9cc203de545fd577390e5d85e14eea1ac5195a95815444
|
|
BLAKE2b-256 checksum How to use checksums |
6620adc3484ed1b0627cf00ef64d2d1cbc6e377a1b2f2df2f4dff7d45698b486
|
| 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.5.dev1661325171-py3-none-any.whl
| Download URL | pretty_yarrrml2rml-0.5.dev1661325171-py3-none-any.whl |
|---|---|
| Size | 10.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2045ba6d9fb8b0a5e9ea87b9d2f27afa477d4f04b613422e3db23231fe2cdc69
|
|
BLAKE2b-256 checksum How to use checksums |
1fd534a4604e1c1fa1248a1e017e86e13d8b025ad1beffadb8c5743b6a86bdc1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|