rudof rdf-config

rudof rdf-config reads a model description in the rdf-config YAML format and shows it. rdf-config, from DBCLS, describes the structure of an RDF dataset: its classes, properties and example values.

rudof rdf-config -s model.yaml

The default result format, internal, shows the model as rudof reads it. With -r yaml, the command writes the model back as YAML.

The rdf-config repository has example models.

Options

$ rudof rdf-config --help
Show information about rdf config

Usage: rudof rdf-config [OPTIONS] --source-file <INPUT>

Options:
  -s, --source-file <INPUT>     Source file name (URI, file or - for stdin)
  -r, --result-format <FORMAT>  Output result rdf-config format [default: internal] [possible values: internal, yaml]
  -f, --format <FORMAT>         rdf-config format [default: yaml] [possible values: yaml]
  -c, --config-file <FILE>      Config file name
  -o, --output-file <FILE>      Output file name, default = terminal
      --force-overwrite         Force overwrite to output file if it already exists
  -h, --help                    Print help