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 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.dev1661783099.tar.gz.

File metadata

File hashes

Hashes for pretty_yarrrml2rml-0.6.1.dev1661783099.tar.gz
Algorithm Hash digest
SHA256 c5a796f890787a908bbef584b3d25ae1851f698d313b12dadbfdceb532942a70
MD5 657563fd99d89a6980ee4705ccd3b972
BLAKE2b-256 f2f2b0de6dc211b2ebc94cf2ea9a396e99112d0ca393b9e543eebf57057913a8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pretty_yarrrml2rml-0.6.1.dev1661783099-py3-none-any.whl
Algorithm Hash digest
SHA256 d795c66c52bdec73a7b9166dfcf64e032b7a4db6478e7f693b5bb4252339b9f1
MD5 27c30e3d3f045fc84ee6fe623fb66190
BLAKE2b-256 a93f2a84ef23aab998e85e6d805180b8abd9e1b1b2372b8072f44afebfd562f6

See more details on using hashes here.

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