'\" t .\" Title: tinysparql-export .\" Author: The TinySPARQL developers .\" Generator: DocBook XSL Stylesheets vsnapshot .\" Date: 09/16/2024 .\" Manual: TinySPARQL manual .\" Source: \ \& 3.8.0 .\" Language: English .\" .TH "TINYSPARQL\-EXPORT" "1" "09/16/2024" "\ \& 3\&.8\&.0" "TinySPARQL manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" tinysparql-export \- Export all data from a TinySPARQL database\&. .SH "SYNOPSIS" .sp \fBtinysparql export\fR [\fIoptions\fR\&...] [\fBIRI\fR\&...] .SH "DESCRIPTION" .sp \fBtinysparql export\fR exports data stored in a TinySPARQL database, in Turtle format\&. By default all data is exported, if any \fBIRI\fR, only those resources will be printed\&. .sp 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\&. .SH "OPTIONS" .PP \fB\-o, \-\-output\-format=<\fR\fB\fIRDF_FORMAT\fR\fR\fB>\fR .RS 4 Choose which RDF format to use to output results\&. Supported formats are \fIturtle\fR, \fItrig\fR and \fIjson\-ld\fR\&. .RE .PP \fB\-g, \-\-show\-graphs\fR .RS 4 Deprecated\&. Does the same than \fB\-\-output\-format trig\fR\&. .RE .PP \fB\-\-2to3\fR .RS 4 Helper for migrating data from Tracker 2\&.x databases\&. This option takes an argument specifying the scope\&. Only the \(lqfiles\-starred\(rq argument is available so far\&. .RE .PP \fB\-\-keyfile\fR .RS 4 Outputs the data in a key file format\&. Only may be used with \-\-2to3 .RE .SH "EXAMPLES" .sp Export all data from Tracker Index and prettify the output using rapper(1)\&.:: .sp .if n \{\ .RS 4 .\} .nf $ tinysparql export \-b org\&.freedesktop\&.Tracker3\&.Miner\&.Files | rapper \- \-I \&. \-i turtle \-o turtle .fi .if n \{\ .RE .\} .SH "SEE ALSO" .sp \fBtinysparql\-import\fR(1), \fBtinysparql\-sparql\fR(1)\&.