Skip to content

Show info about a ShEx schema

Jose Emilio Labra Gayo edited this page Jun 19, 2024 · 2 revisions

Show info about a ShEx schema

Example

Read a ShEx schema in compact syntax and show its JSON representation:

rdfsx schema -s examples/user.shex

General command help

$ rdfsx schema --help
Usage: sx schema [OPTIONS] --schema <Schema file name>
Options:
  -s, --schema <Schema file name>
  -f, --schema-format <Schema format>
          [default: shexc] [possible values: internal, shexc, shexj, turtle]
  -r, --result-schema-format <Result schema format>
          [default: shexj] [possible values: internal, shexc, shexj, turtle]
  -o, --output-file <Output file name, default = terminal>
  -h, --help
          Print help
Clone this wiki locally