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

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

Uploaded Source

Built Distribution

File details

Details for the file pretty_yarrrml2rml-0.5.dev1626691516.tar.gz.

File metadata

  • Download URL: pretty_yarrrml2rml-0.5.dev1626691516.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

File hashes

Hashes for pretty_yarrrml2rml-0.5.dev1626691516.tar.gz
Algorithm Hash digest
SHA256 289dadba1116b9ab5317971907187ca4929d84805cf2a9055d07e6ba21d6fba1
MD5 be6b18f733ec0e345bf297a8c0697324
BLAKE2b-256 a6ef85c44f363c7a5586e9674976959bc14842b52abe17325022459de3e049d6

See more details on using hashes here.

Provenance

File details

Details for the file pretty_yarrrml2rml-0.5.dev1626691516-py3-none-any.whl.

File metadata

  • Download URL: pretty_yarrrml2rml-0.5.dev1626691516-py3-none-any.whl
  • Upload date:
  • Size: 10.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

File hashes

Hashes for pretty_yarrrml2rml-0.5.dev1626691516-py3-none-any.whl
Algorithm Hash digest
SHA256 f0938a82401ea7fde9430cff34452b063dddf5fa0b03c2b97327a58249e5f903
MD5 d87c25ebe35441b1431717a173d7f4bf
BLAKE2b-256 5e50b3cab91dfdce360b1c2552800b6c1a771daa0438db02941aaf3a73afea20

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