stardog file cat Manual Page

NAME


stardog file cat —Concatenate and print RDF files in desired format

SYNOPSIS


stardog file cat [ {-f | --format} <rdf format> ] [--] <inputFile>...

OPTIONS


-f <rdf format>, --format <rdf format>
RDF Format for the output. The supported formats are NTRIPLES, RDF/XML, TURTLE, PRETTY_TURTLE, TRIG, TRIX, N3, NQUADS. By default output files will have the same format as the first input file.
--
This option can be used to separate command-line options from the list of argument, (useful when arguments might be mistaken for command-line options
<inputFile>
Input files to concatenate.

EXAMPLES


Concatenate input files and output in Turtle format.

    $ stardog file cat input1.ttl input2.nt input3.rdf

Concatenate input files and output in RDF/XML format.

    $ stardog file cat -f rdf/xml input1.ttl input2.nt input3.rdf

Concatenate input files and output in gzipped Turtle format.

    $ stardog file cat -f rdf/xml input1.ttl.gz input2.ttl.gz > output.ttl.gz