Scroll to navigation

RUDOF(1) User Commands RUDOF(1)

NAME

rudof validate - Validate RDF data using ShEx or SHACL

SYNOPSIS

rudof validate [OPTIONS] [DATA]...

DESCRIPTION

Validate RDF data using ShEx or SHACL

Arguments:

[DATA]...

OPTIONS

-M, --mode <MODE>

Validation mode (ShEx or SHACL)
[default: shex] [possible values: shex, shacl]

-s, --schema <INPUT>

Schema used for validatio, FILE, URI or - for stdin

-f, --schema-format <FORMAT>

Schema format
[possible values: internal, simple, shexc, shexj, json, jsonld, turtle, ntriples, rdfxml, trig, n3, nquads]

-m, --shapemap <INPUT>

ShapeMap used for validation, FILE, URI or - for stdin

--shapemap-format <FORMAT>

ShapeMap format
[default: compact] [possible values: compact, internal, json, details]

--base-data <IRI>

Base IRI for data

--base-schema <IRI>

Base IRI for Schema

--sort_by <SORT_MODE>

Sort result by (default = node)
[default: node] [possible values: node, details]

-n, --node <NODE>

Node to validate

-l, --shape-label <LABEL>

shape label (default = START)

-t, --data-format <FORMAT>

RDF Data format (default = turtle)
[default: turtle] [possible values: turtle, ntriples, rdfxml, trig, n3, nquads, jsonld]

-e, --endpoint <ENDPOINT>

Endpoint with RDF data

--max-steps <NUMBER>

max steps to run during validation
[default: 100]

-S, --shacl-mode <MODE>

SHACL validation mode (default = native)
Possible values: - native: Rust native engine using functions implemented with Rust native code - sparql: SPARQL-based engine using SPARQL queries to validate the data
[default: native]

--reader-mode <MODE>

RDF Reader mode
[default: strict] [possible values: lax, strict]

-r, --result-format <FORMAT>

Ouput result format, default = compact
[default: compact] [possible values: turtle, ntriples, rdfxml, trig, n3, nquads, compact, details, json]

-o, --output-file <FILE>

Output file name, default = terminal

--force-overwrite

Force overwrite to output file if it already exists

-c, --config-file <FILE>

Config file name (in TOML format)

-h, --help

Print help (see a summary with '-h')
October 2025 rudof validate 0.1.134+ds