RUDOF(SHACL-VALIDATE)

πŸ“¦
version 0.3.8 Β· 4 versions
, in ubuntu stonking

πŸ’– RUDOF (SHACL-VALIDATE) πŸ’–

okay bestie, so rudof shacl-validate is the rudof subcommand you call when you wanna check your RDF data against SHACL shapes 🌸 this page? it's your whole cheat sheet. version 0.3.8+ds fr fr πŸ’…


✨ NAME ✨

rudof shacl-validate β€” validate RDF data using SHACL shapes πŸ¦‹


✨ SYNOPSIS ✨

rudof shacl-validate [OPTIONS] [DATA]...

✨ DESCRIPTION ✨

Validate RDF data using SHACL shapes. that's the whole vibe. you give it data, you give it shapes, it tells you if everything's giving what it's supposed to give ✨

🌟 Arguments

  • [DATA]... β€” the data you're validating, bestie. zero or more of them 🫢

✨ OPTIONS ✨

  • -t, --data-format <FORMAT> β€” what format your RDF data is in πŸ“

[default: turtle] [possible values: turtle, ntriples, rdfxml, trig, n3, nquads, jsonld, pg]

  • --base-data <IRI> β€” base IRI, which is how relative IRIs inside your RDF data get resolved 🌈
  • --reader-mode <MODE> β€” how the RDF reader behaves πŸ‘€

[default: strict] [possible values: lax, strict]

  • -s, --shapes <INPUT> β€” your shapes graph: a file, a URI, or -. if you don't set it, it just assumes the shapes are coming from the data itself πŸŽ€
  • -f, --shapes-format <FORMAT> β€” what format your shapes file is in πŸ’œ

[default: turtle] [possible values: internal, turtle, ntriples, rdfxml, trig, n3, nquads, jsonld]

  • --base-shapes <IRI> β€” base IRI, and this one resolves relative IRIs inside your shapes 🧚
  • -m, --mode <MODE> β€” validation mode. native is usually the one you want with the in-memory store, and sparql is intended for remote SPARQL endpoints and Qlever ✨

[default: native] [possible values: native, sparql]

  • -r, --result-format <FORMAT> β€” the format your results come out in πŸŽ€

[default: details] [possible values: details, turtle, ntriples, rdfxml, trig, n3, nquads, minimal, compact, json, csv]

  • --sort_by <SORT_MODE> β€” sorts the results by... something. your choice πŸ‘‘

[default: severity] [possible values: severity, node, component, value, path, sourceshape, details]

  • -c, --config-file <FILE> β€” name of the config file πŸ“
  • -o, --output-file <FILE> β€” name of the output file, default = terminal πŸ’»
  • --force-overwrite β€” forces overwriting the output file if it already exists. yeah, it will absolutely clobber it, that's the whole point πŸ™ˆ
  • --backend <BACKEND> β€” picks which RDF data backend your input gets loaded into πŸ”₯
    • memory (default): parse into an in-process oxrdf::Graph.
    • qlever: launch a local QLever Docker container and index the input on disk. requires the binary to be built with the qlever feature.
    • endpoint=<URL_OR_NAME>: query an external SPARQL endpoint by URL, or by the name of an endpoint registered in the TOML config. see also the --endpoint / -e shortcut.
  • -e, --endpoint &lt;URL_OR_NAME&gt; β€” shortcut for --backend endpoint=<URL_OR_NAME> πŸ’«

accepts either a full SPARQL endpoint URL, or the name of an endpoint registered in the TOML config. mutually exclusive with --backend β€” pick one, not both, bestie 😀

  • -h, --help β€” prints the help. and psst, -h gives you a summary, not the whole thing πŸ‘‘
πŸ’€ heads up: --endpoint/-e and --backend are mutually exclusive. don't do both, it's not that kind of party.

written by the rudof girlies, shipped as rudof shacl-validate 0.3.8+ds β€” page 1 of the manual, dated August 2026 πŸ’– periodt, now go validate something and slay ✨

πŸ“¦ where this page comes from