A SHACL implementation using the EYE reasoner.
Install the eye reasoner, download the dist folder and use the bash scripts like in the following examples.
# validate data.ttl against shapes.ttl
./eye-shacl.sh shapes.ttl data.ttl
Since the shapes are first compiled into rules, you can compile them once:
./eye-shacl-compile.sh shapes.ttl > shapes.n3
and reuse multiple times:
./eye-shacl-validate.sh shapes.n3 data1.ttl
./eye-shacl-validate.sh shapes.n3 data2.ttl
Online resources are allowed as input, like in the following example from the official test suite:
./eye-shacl.sh \
https://raw.githubusercontent.com/w3c/data-shapes/gh-pages/data-shapes-test-suite/tests/core/complex/personexample.ttl \
https://raw.githubusercontent.com/w3c/data-shapes/gh-pages/data-shapes-test-suite/tests/core/complex/personexample.ttl