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.dev1626180281
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.dev1626180281.tar.gz | 9.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pretty_yarrrml2rml-0.5.dev1626180281-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.6 kB
Release files / pretty_yarrrml2rml-0.5.dev1626180281.tar.gz
| Download URL | pretty_yarrrml2rml-0.5.dev1626180281.tar.gz |
|---|---|
| Size | 9.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
37478c0467edcc563212d0c969e573dbb13b27e6ce356f8cfddf7af1be4d8910
|
|
BLAKE2b-256 checksum How to use checksums |
e25f8330f6709ae0d6ae47adf50ae0f207d7e862058860a79756774b63ca41af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5
|
Release files / pretty_yarrrml2rml-0.5.dev1626180281-py3-none-any.whl
| Download URL | pretty_yarrrml2rml-0.5.dev1626180281-py3-none-any.whl |
|---|---|
| Size | 10.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
882caed7ffcb6a107c5ef61a5a16a8d4e2619e61484a920f2ce0038d0819a14f
|
|
BLAKE2b-256 checksum How to use checksums |
af8f5e9ad1f9496bb4231921b0dbda4ee1ba63473142caa30610783da7414fba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5
|