NAME

attean_query - Query RDF data with SPARQL

DESCRIPTION

attean_query provides a command-line interface to the Attean module and its SPARQL query functionality. It can load RDF data into in-memory storage, parse a SPARQL query, and evaluate the query against the stored data, serializing the results.

SYNOPSYS

attean_query [OPTIONS] QUERYFILE.rq [data1.ttl data2.rdf ...]

OPTIONS

  • --algebra -a

    Print the SPARQL algebra resulting from query parsing.

  • --plan -p

    Print the query plan which will be used for query evaluation.

  • --simpleeval -s Use Attean::SimpleQueryEvaluator

    to evaluate the query, bypassing the default query-planner-based evaluation.

  • -q

    Print a formatted version of the SPARQL query string.

  • -c

    Check the syntax of the query.

  • --short

    Use short blank-node identifiers in serialized results.

  • --output FORMAT -o FORMAT

    Results format. FORMAT may be one of the Attean serializer names (e.g. "SPARQLJSON") or a file extension (e.g. "srj").

  • --update -u

    Update mode.

  • -n

    Dry-run.

  • --verbose -v

    Verbose mode. Print debugging messages about the query process.