Command line tool for RDF-Ext
npm install rdf-ext-cli

A command line util for RDF-Ext to convert and validate RDF data.
It supports reading different formats from the local file system, HTTP URLs, and SPARQL endpoints.
The data can be validated with SHACL using shacl-engine.
Use the following command to install the util with npm.
A symlink will be added to the path.
``bash`
npm install -g rdf-ext-cli
You can run the tool like this:
`bash`
rdf-ext somePathOrUrl
This will read somePathOrUrl with content-type auto-detection and write the result in the default format to stdout.--shacl-url
If is given, the input will be validated against the given SHACL shape, and the report will be written to the output.rdf-ext
Run without any arguments to get a full list of supported parameters.
`
Usage: rdf-ext-cli [options] [input]
Arguments:
input input
Options:
--input-endpoint
--input-query
--input-type
--shacl-endpoint
--shacl-query
--shacl-type
--shacl-url
--shacl-debug generate results for successful validations
--shacl-details generate nested result details
--shacl-trace generate results for path traversing
--transform-map-namespace
--transform-skolem-iris
--transform-to-triples set graph to default graph
--output-prefix
--output-type
--pretty use pretty print serializer
-h, --help display help for command
``
See the examples folder for some example commands.