The rudof command line tool has one subcommand per task:
rudof [OPTIONS] <COMMAND> [ARGS]
Run rudof --help for the list of commands, and rudof <command> --help for the options of one command.
| Option | Description |
-d, --debug | Increase the logging verbosity. Repeat it for more detail (-dd). |
-h, --help | Print the help. |
-V, --version | Print the version. |
Most commands accept these options:
| Option | Description |
-c, --config-file <FILE> | A configuration file. |
-o, --output-file <FILE> | Write the result to a file instead of the terminal. |
--force-overwrite | Overwrite the output file if it exists. |
-r, --result-format <FORMAT> | The format of the result. The values depend on the command. |
--backend <BACKEND>, -e, --endpoint <URL_OR_NAME> | Where the RDF data is: in memory (default), QLever or a SPARQL endpoint. See RDF backends. |
Input arguments accept a file path, a URL, or - for stdin.
| Command | Description |
config | Show the configuration that rudof uses, as TOML. |
shell | Start an interactive session. |
mcp | Start rudof as an MCP (Model Context Protocol) server. |
| Command | Description |
data | Show information about RDF data, convert it, or draw it. |
node | Show the neighborhood of a node in an RDF graph. |
query | Run a SPARQL query. |
sparql | Show information about a SPARQL query. |
service | Show the description of a SPARQL service. |
| Command | Description |
shex | Show information about a ShEx schema. |
shex-check | Make sure that a ShEx schema is well-formed. |
shex-path | Select elements of a ShEx schema with a ShExPath. |
shapemap | Show information about a ShapeMap. |
shex-validate | Validate RDF data with a ShEx schema. |
materialize | Build an RDF graph from a ShEx schema with Map semantic actions. |
| Command | Description |
shacl | Show information about SHACL shapes. |
shacl-validate | Validate RDF data with SHACL shapes. |
validate | Validate RDF data with ShEx or SHACL. |
| Command | Description |
pgschema | Show information about a PG-Schema. |
pgschema-validate | Validate property graph data with a PG-Schema. |
connect | Connect to (or create) a LadybugDB property graph database. |
load | Load RDF data into a LadybugDB database. |
ddl | Generate property graph DDL (Cypher or GQL) from RDF data. |
| Command | Description |
convert | Convert between data modeling languages, or to UML, HTML and SPARQL. |
compare | Compare two schemas, or two RDF graphs. |
dctap | Show information about a DCTAP profile. |
rdf-config | Show information about an rdf-config document. |
generate | Generate synthetic data from ShEx, SHACL or PG-Schema schemas. |
rudof-completions generates completion scripts for bash, zsh, fish, PowerShell and other shells. See Shell completions.