Skip to content

Latest commit

 

History

History
52 lines (36 loc) · 1.44 KB

NOTES.md

File metadata and controls

52 lines (36 loc) · 1.44 KB

Notes

Notes from the research and development process.

Resources

Specifications:

Implementations:

Other:

pySHACL Usage

pySHACL can be installed from PyPI:

pip install 'pyshacl[js]'
# or
pipx install 'pyshacl[js]'

It can be used to validate a data graph data.ttl against a SHACL shapes graph shapes.ttl like so:

pyshacl --metashacl --imports --js -s shapes.ttl data.ttl

The --metashacl flag validates the shapes graph, first. The --imports flag is required in order for pySHACL to resolve owl:imports properties. The --js flag enables JavaScript functionality.

pySHACL can also be used as a library.