Skip to main content

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

GitHub DOI PyPI GitHub Release Date

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:

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:

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

pretty_yarrrml2rml-0.6.1.dev1661763320.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file pretty_yarrrml2rml-0.6.1.dev1661763320.tar.gz.

File metadata

File hashes

Hashes for pretty_yarrrml2rml-0.6.1.dev1661763320.tar.gz
Algorithm Hash digest
SHA256 76fa82f81e19c7e28b757fc7d398ca3b6ce4da82506a46c12191fc046cdfad49
MD5 f245849bc43d8f94bc2f4ad8f94ae793
BLAKE2b-256 2f8529ebb7f2d0c7e7ed9e6289981c909c009f33551ef614687d00d340cf9fef

See more details on using hashes here.

File details

Details for the file pretty_yarrrml2rml-0.6.1.dev1661763320-py3-none-any.whl.

File metadata

File hashes

Hashes for pretty_yarrrml2rml-0.6.1.dev1661763320-py3-none-any.whl
Algorithm Hash digest
SHA256 df0478a6c5965ef4b3391c02ec95c672ffb356643a416a1d85b86640835d32ac
MD5 5f29d83ce09f27371d1d28b4012c9eda
BLAKE2b-256 8331b4ddd2f7754af0e974f456892c917945e03ed9da07aa02a4d0f16d047bd9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page