stardog-admin index query Manual Page
NAME
stardog-admin index query —Query index directly.
SYNOPSIS
stardog-admin index query [ {-e | --explain} ] [ {-m | --memory-management} ] [ --metrics ] [ {-r | --reasoning} ] [ --repeat <N> ] [ {-t | --time} ] [--] <Database>...
OPTIONS
Explain query before running it
Run the query N times (takes effect only with -t/--time option)
Print only the query time but not the results
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
Stardog database to query; this is the path to an existing database directory
DISCUSSION
Runs a SPARQL query or a query plan against an index directly.
EXAMPLES
Runs a query
$ stardog-admin index query /path/to/stardog/database 'select ...'
Runs the given query plan (without further optimization)
$ stardog-admin index query /path/to/stardog/database query.plan
Runs a query 3 times and prints only the execution time for each execution
$ stardog-admin index query --repeat 3 --time /path/to/stardog/database query.sparql