Skip to main content

Latest Release License: MIT

Python Versions Package Format Package Status Package Version

SHACL2SPARQLpy

SHACL2SPARQLpy is a Python-based reference implementation of SHACL2SPARQL.

First, install the required dependencies:

python3 -m pip install -r requirements.txt

Assuming you have a SPARQL endpoint running under http://localhost:14000/sparql, you can execute the tool with the following command:

python3 main.py -d path/to/your/shacl/shapes http://localhost:14000/sparql /path/where/to/store/output

Note

The reference implementation was used in the WWW '21 paper of Trav-SHACL. It is not a fully functional Python version of SHACL2SPARQL. For example, it assumes that all shapes have a target definition. It merely served to make SHACL2SPARQL and Trav-SHACL comparable by getting rid of the performance difference in Python and Java.

Metadata

Release files for SHACL2SPARQLpy 1.3.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 SHACL2SPARQLpy 1.3.0
File Size Uploaded
SHACL2SPARQLpy-1.3.0.tar.gz 20.2 kB Details

Built distribution (wheel)

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

Total release size: 46.5 kB

Release files / SHACL2SPARQLpy-1.3.0.tar.gz

Download URL SHACL2SPARQLpy-1.3.0.tar.gz
Size 20.2 kB
Tags Source
SHA-256 checksum
How to use checksums
8d23375e156dcc43cf34c2ce747aa815b6360799b1969847700dad7cabc0b110
BLAKE2b-256 checksum
How to use checksums
e6f0a0b3fb3704da0a770ca8fa4c017375320454362d3417dc42c3b60f46061d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.17

Release files / SHACL2SPARQLpy-1.3.0-py3-none-any.whl

Download URL SHACL2SPARQLpy-1.3.0-py3-none-any.whl
Size 26.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7773256b34e3009e2fadc07590390803d119c2d3b8a322d6020da9b8236f9412
BLAKE2b-256 checksum
How to use checksums
bbd46f0f329f6680d1822929a32b6f5cd94f1ca21359ec4e38bf499f9d4f37d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.17

Release history Release notifications | RSS feed

This release

1.3.0 This release

2 release files

1.2.0

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.0

2 release files

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