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

yarrrml

GitHub DOI PyPI GitHub Release Date

The tool translates mapping rules from YARRRML in a turtle-based serialization of RML. The translation is based on the RML and YARRRML specifications.

Limitations:

We are working on inlcuding the following features which are not yet implemented:

  • Translation to 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:

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

File details

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

File metadata

File hashes

Hashes for pretty_yarrrml2rml-0.6.1.dev1663601629.tar.gz
Algorithm Hash digest
SHA256 36def227edfd93c6a2a662e3eabc609209fdc0cb3b70370041033f84d1079ddb
MD5 ee319efce170cbc1a9b12019315c2d73
BLAKE2b-256 e277526179655261f8e7e4361d5cf4797033ce56942847547eab8192aa4e7b91

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for pretty_yarrrml2rml-0.6.1.dev1663601629-py3-none-any.whl
Algorithm Hash digest
SHA256 a66b64f432e580579a104b7804444f7632a53e62e20dbae3235489fd92c223b6
MD5 e208e3e6b85b2bff9c2cc9ca41f65235
BLAKE2b-256 40407ec4564132405b8243ebe8ab655708e563ee0fbbffad02593f2629436acd

See more details on using hashes here.

Provenance

Supported by

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