---
name: "tinysparql-export"
section: "1"
platform: "linux"
package: "tinysparql"
version: "3.12.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/tinysparql-export"
---

# tinysparql-export(1)

Export all data from a TinySPARQL database.

## 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)](/rapper/1.md) 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)](/rapper/1.md).::

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

## SEE ALSO

[**tinysparql-import**(1)](/tinysparql-import/1.md), **tinysparql-sparql**(1).
