Skip to main content

RML2SHACL

A tool to generate SHACL shapes from RML mapping files for RDF graphs validation.

Installation

  • From PyPi package
pip install rml2shacl
  • From source code:
python -m pip install poetry
poetry update
poetry build

Usage

General usage info:

usage: rml2shacl -i MAPPING_PATH [-o SHACL_PATH] [-logLevel LOGLEVEL] 

positional arguments:
  -i,--MAPPING_PATH <arg>           RML mapping path to be converted into SHACL shapes.

optional arguments:
  -o SHACL_PATH <arg>               SHACL output path 
  -h, --help                        show this help message and exit
  -l, --LOG_LEVEL <arg>             Logging level of this script. Possible values: INFO,DEBUG,WARN

To generate your shacl shapes:

python3 -m rml2shacl -i <path> [-o <path>]

Example:

python3 -m rml2shacl -i mapping.rml.ttl -o ./output/

The generated SHACL shapes will be located in ./output/mapping-shape.ttl

Metadata

Release files for rml2shacl 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rml2shacl 1.0.0
File Size Uploaded Provenance Actions
rml2shacl-1.0.0.tar.gz 9.7 kB With provenance Details for rml2shacl-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rml2shacl 1.0.0
File Interpreter ABI Platform Actions
rml2shacl-1.0.0-py3-none-any.whl Python 3 none any Details for rml2shacl-1.0.0-py3-none-any.whl

Total release size: 21.1 kB

Release files / rml2shacl-1.0.0.tar.gz

Download URL rml2shacl-1.0.0.tar.gz
Size 9.7 kB
Tags Source
SHA-256 checksum
How to use checksums
847a1f65bb9a53129198ba54f9e2fcc2db35e07787b88d373ba45d1b1c9d567f
BLAKE2b-256 checksum
How to use checksums
ad0e69028968f9bb35d34827b6e12b120d07a9c6c9503d4b0446279d0e62563c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 14, 2024.

Transparency log

Release files / rml2shacl-1.0.0-py3-none-any.whl

Download URL rml2shacl-1.0.0-py3-none-any.whl
Size 11.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4d1e1f25b1d30466a597ef88bb1410203c6adf2bcef46104251102f46af74651
BLAKE2b-256 checksum
How to use checksums
7972c401eaabd1392ba52a4c7fda3bb28a801df26e89dbcb46cad37a0fc5f311
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 14, 2024.

Transparency log

Security for rml2shacl 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for rml2shacl-1.0.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 14, 2024.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page