serdi man page

serdi — Read and write RDF syntax

Synopsis

serdi [OPTION]... INPUT BASE_URI

Options

-b

Fast bulk output for large serialisations.

-c PREFIX

Chop PREFIX from matching blank node IDs.

-e

Eat input one character at a time, rather than a page at a time which is the default.  This is useful when reading from a pipe since output will be generated immediately as input arrives, rather than waiting until an entire page of input has arrived.  With this option serdi uses one page less memory, but will likely be significantly slower.

-f

Keep full URIs in input (don't qualify).

-h

Print the command line options.

-i SYNTAX

Read input in SYNTAX (turtle/ntriples/trig/nquads).

-l

Lax (non-strict) parsing.

-o SYNTAX

Write output in SYNTAX (turtle/ntriples/nquads).

-p PREFIX

Add PREFIX to blank node IDs.

-q

Suppress all output except data.

-r ROOT_URI

Keep relative URIs within ROOT_URI.

-s INPUT

Parse INPUT as a string (terminates options).

-v

Display version information and exit.

Author

Serdi was written by David Robillard <d@drobilla.net>

See Also

<http://drobilla.net/software/serd>

Info

05 Jan 2017