Node.js SHACL Valdiator
- Clone into local directory
- Run
npm install
in project directory to install dependencies - Run
npm link
to install runnable script - Invoke validator, e.g.
validate-shacl -d @test/data.ttl -s @test/shapes.ttl
-e, --endpoint URL | The URL for a SPARQL endpoint used to access named graphs or run queries. |
Must be specified unless local files are used for both data and shapes. | |
-s, --shapes location | The location of the SHACL shapes. If specified as @file, shapes will be read |
from a local Turtle file. If specified as <graph>, the named graph will be | |
retrieved from the SPARQL endpoint. Otherwise, the actual argument is | |
interpreted as Turtle shapes. | |
-d, --data location | The location of the data to be validated. If specified as @file, data will be |
read from a local Turtle file. If specified as <graph>, the named graph | |
will be retrieved from the SPARQL endpoint. Otherwise, the actual argument is | |
interpreted as Turtle data. Cannot be specified if --query is provided. | |
-q, --query query | Query to retrieve the data to be validated. If specified as @file, query will |
be read from a local file. Otherwise, the actual argument is interpreted as | |
SPARQL query. Cannot be specified if --data is provided. | |
--help | Print this usage guide. |