tinysparql-export(1)
====================

== NAME

tinysparql-export - Export all data from a TinySPARQL database.

== SYNOPSIS

*tinysparql export* [_options_...] [*IRI*...]

== DESCRIPTION

*tinysparql export* exports data stored in a TinySPARQL database, in
Turtle format. By default all data is exported, if any *IRI*, only those
resources will be printed.

The output is intended to be machine-readable, not human readable. Use a
tool such as rapper(1) to convert the data to different formats.

== OPTIONS

*-o, --output-format=<__RDF_FORMAT__>*::
  Choose which RDF format to use to output results. Supported formats are
  _turtle_, _trig_ and _json-ld_.

*-g, --show-graphs*::
  Deprecated. Does the same than *--output-format trig*.

*--2to3*::
  Helper for migrating data from Tracker 2.x databases. This option
  takes an argument specifying the scope. Only the “files-starred”
  argument is available so far.

*--keyfile*::
  Outputs the data in a key file format. Only may be used with --2to3

== EXAMPLES

Export all data from Tracker Index and prettify the output using
rapper(1).::

....
$ tinysparql export -b org.freedesktop.Tracker3.Miner.Files | rapper - -I . -i turtle -o turtle
....

== SEE ALSO

*tinysparql-import*(1), *tinysparql-sparql*(1).
