Scroll to navigation

oxigraph-query(1) General Commands Manual oxigraph-query(1)

NAME

oxigraph-query - Execute a SPARQL query against the store

SYNOPSIS

oxigraph query <-l|--location> [-q|--query] [--query-file] [--query-base] [-r|--results-file] [--results-format] [--explain] [--explain-file] [--stats] [--union-default-graph] [-h|--help]

DESCRIPTION

Execute a SPARQL query against the store

OPTIONS

Directory in which Oxigraph data are persisted
The SPARQL query to execute

If no query or query file are given, stdin is used.

File in which the query is stored

If no query or query file are given, stdin is used.

Base IRI of the query
File in which the query results will be stored

If no file is given, stdout is used.

The results format

It can be an extension like "nt" or a MIME type like "application/n-triples".

By default the format is guessed from the results file extension.

Print to stderr a human-readable explanation of the query evaluation

Use the stats option to print also query evaluation statistics.

Write to the given file an explanation of the query evaluation

If the file extension is .json the JSON format is used, if .txt a human readable format is used.

Use the stats option to print also query evaluation statistics.

Compute some evaluation statistics to print as part of the query explanations

Beware, computing the statistics adds some overhead to the evaluation runtime.

If the SPARQL queries should look for triples in all the dataset graphs by default (ie. without `GRAPH` operations)
Print help (see a summary with '-h')
query