Translates RML into SHACL
Project description
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
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rml2shacl-1.0.0.tar.gz.
File metadata
- Download URL: rml2shacl-1.0.0.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
847a1f65bb9a53129198ba54f9e2fcc2db35e07787b88d373ba45d1b1c9d567f
|
|
| MD5 |
13d39c105c53c2de406ead99a9362ca1
|
|
| BLAKE2b-256 |
ad0e69028968f9bb35d34827b6e12b120d07a9c6c9503d4b0446279d0e62563c
|
Provenance
The following attestation bundles were made for rml2shacl-1.0.0.tar.gz:
Publisher:
publish.yml on dtai-kg/RML2SHACL
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rml2shacl-1.0.0.tar.gz -
Subject digest:
847a1f65bb9a53129198ba54f9e2fcc2db35e07787b88d373ba45d1b1c9d567f - Sigstore transparency entry: 148883013
- Sigstore integration time:
-
Permalink:
dtai-kg/RML2SHACL@b3357bbeb999bf77ec090ba7c605ba27ea1b073b -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/dtai-kg
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b3357bbeb999bf77ec090ba7c605ba27ea1b073b -
Trigger Event:
release
-
Statement type:
File details
Details for the file rml2shacl-1.0.0-py3-none-any.whl.
File metadata
- Download URL: rml2shacl-1.0.0-py3-none-any.whl
- Upload date:
- Size: 11.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d1e1f25b1d30466a597ef88bb1410203c6adf2bcef46104251102f46af74651
|
|
| MD5 |
441e6278bae4840d21c3fda04418ed26
|
|
| BLAKE2b-256 |
7972c401eaabd1392ba52a4c7fda3bb28a801df26e89dbcb46cad37a0fc5f311
|
Provenance
The following attestation bundles were made for rml2shacl-1.0.0-py3-none-any.whl:
Publisher:
publish.yml on dtai-kg/RML2SHACL
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rml2shacl-1.0.0-py3-none-any.whl -
Subject digest:
4d1e1f25b1d30466a597ef88bb1410203c6adf2bcef46104251102f46af74651 - Sigstore transparency entry: 148883014
- Sigstore integration time:
-
Permalink:
dtai-kg/RML2SHACL@b3357bbeb999bf77ec090ba7c605ba27ea1b073b -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/dtai-kg
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b3357bbeb999bf77ec090ba7c605ba27ea1b073b -
Trigger Event:
release
-
Statement type: