stardog icv validate Manual Page
NAME
stardog icv validate —Integrity Constraint Validation command that supports validating the database (or a subset of it via named graphs) with existing or new constraints. New constraints should be specified as arguments passed at the end. If no new constraints are given then the constraints stored in the database will be used.
SYNOPSIS
stardog [ --krb5 ] [ --krb5-disable-rdns ]icv validate [ {-f | --format} <format> ] [ {-g | --named-graph} <named graph>... ] [ {-p | --passwd} <password> ] [ {-P | --ask-password} ] [ {-r | --reasoning} ] [ {-u | --username} <username> ] [ {-v | --verbose} ] [--] <dbname> <constraint_files>...
OPTIONS
-f <format>, --format <format>
RDF Format [N-TRIPLES, RDF/XML, TURTLE, TRIG] for the constraints or [SPARQL] for constraints specified as SPARQL queries.
-g <named graph>, --named-graph <named graph>
The list of contexts which should be validated, if none are specified, the entire database is validated wrt to the provided constraint(s).
Use the Kerberos environment.
Disable reverse DNS lookup for Kerberos clients.
-p <password>, --passwd <password>
-u <username>, --username <username>
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
<dbname> <constraint_files>
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. Then optionally the list of files which contain Integrity Constraints.
EXAMPLES
Validate the database:
$ stardog icv validate myDb
Validate only the specified named graphs:
$ stardog icv validate -g http://example.org/graph1 http://example.org/graph2 -- myDb