stardog reasoning schema Manual Page

NAME


stardog reasoning schema —Exports the contents of the schema.

SYNOPSIS


stardog [ --krb5 ] [ --krb5-disable-rdns ]reasoning schema [ {-f | --format} <resultFormat> ] [ --no-color ] [ {-p | --passwd} <password> ] [ {-P | --ask-password} ] [ {-u | --username} <username> ] [ {-v | --verbose} ] [--] <database>

OPTIONS


-f <resultFormat>, --format <resultFormat>
Result format for output [NTRIPLES, RDF/XML, TURTLE, PRETTY_TURTLE, TRIG, TRIX, N3, NQUADS]
--krb5
Use the Kerberos environment.
--krb5-disable-rdns
Disable reverse DNS lookup for Kerberos clients.
--no-color
Do not use ANSI syntax highlighting in the output. Note that syntax highlighting is used only whenan output format is not provided so this option is not needed if you specify an output format.
-p <password>, --passwd <password>
Password.
-P, --ask-password
Prompt for password.
-u <username>, --username <username>
User name.
-v, --verbose
Verbose flag that causes more detailed information to be printed
--
This option can be used to separate command-line options from the list of argument, (useful when arguments might be mistaken for command-line options
<database>
The name of the database or the full connection string of the database to connect to. If only the name is provided, the default server URL will be pre-pended to the name of the database in order to construct the connection string. Connection parameters such as ';reasoning=true' can be included in the provided database name. Connection parameters specified like this can be overridden by specific options on the command. The default server URL will be read from the JVM argument 'stardog.default.cli.server'. If the JVM argument is not set, the default value 'http://localhost:5820' is used. If the server URL has no explicit port value, the default port value '5820' is used. To use a secure connection, you should specify the full connection string and postfix 's' to the protocol, e.g. https.

EXAMPLES


Export the schema of the database in human-friendly format:

    $ stardog reasoning schema myDB

Export the schema of the database without syntax highlighting:

    $ stardog reasoning schema --no-color myDB

Export the schema of the database in turtle format:

    $ stardog reasoning schema -f turtle myDB