Python reference implementation of SHACL2SPARQL
Project description
S2Spy
S2Spy 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.
Project details
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 SHACL2SPARQLpy-1.0.0.tar.gz
.
File metadata
- Download URL: SHACL2SPARQLpy-1.0.0.tar.gz
- Upload date:
- Size: 18.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97a09a2b19c5ba3cd1c54de7a2c1324b77fb662775de5c7f82cde4afb7e50e9e |
|
MD5 | e0e97c68fffb5758d68e769dcc3ec228 |
|
BLAKE2b-256 | c1b470ea5023b68a3366d907be3a8ddbf2a6e21e6ba1f37a2b7ae2fccc6374c7 |
File details
Details for the file SHACL2SPARQLpy-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: SHACL2SPARQLpy-1.0.0-py3-none-any.whl
- Upload date:
- Size: 23.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 148bdb976b937cd4a0144a7617dd937ed4409b1312976807001c26f46fb88701 |
|
MD5 | a0331748a5691d9b9dc0087ba0c98b9f |
|
BLAKE2b-256 | 096ad0e2a5d57878ab74bf12bc773e443bdf4d712eea604d8285287a233ce914 |