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

The tool translates mapping rules from YARRRML in a pretty turtle-based serialization of RML. The translation is based on RML and YARRRML 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

This version

0.6

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.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

pretty_yarrrml2rml-0.6-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file pretty_yarrrml2rml-0.6.tar.gz.

File metadata

  • Download URL: pretty_yarrrml2rml-0.6.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for pretty_yarrrml2rml-0.6.tar.gz
Algorithm Hash digest
SHA256 143887ff90ee040499047d03bb4578879b6731369dd8d41093671ba6a9c78062
MD5 5a7964f9db28e9be3ae414a8c65ee3bf
BLAKE2b-256 e09a60a3a8da2318905ae320e2f1e031f4c6629b17aac788ee4f668c36c4f555

See more details on using hashes here.

Provenance

File details

Details for the file pretty_yarrrml2rml-0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for pretty_yarrrml2rml-0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 fd7d73a1f9e50e998e13ee37b448fa61ca571da1b15ae77a0cbe89429974683b
MD5 74242058ec8bc9d2bdf7edf7ee9a77d9
BLAKE2b-256 3a19f6ff3d526baabedab0ddc20d5aae0df5050fe2517823d7053a6ca5233490

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