sordi(1)

sordi1

Load and rewrite rdf data

Usage

sordi [-hv] [-i syntax] [-o syntax] [-s string] input [base_uri]

Overview

sordi is a command-line utility for loading RDF data into a model, and writing it out again.

sordi is mainly useful for things like removing duplicate statements, merging data files, or aggressive pretty-printing with statement reordering.

The options are as follows:

-h, --help

Print the command line options.

-i syntax

Read input as syntax. Case is ignored, valid values are: “NQuads”, “NTriples”, “TriG”, “Turtle”.

-o syntax

Write output as syntax. Case is ignored, valid values are: “NQuads”, “NTriples”, “TriG”, “Turtle”.

-s string

Parse string input instead of a file (terminates options).

-v

Display version information and exit.

Exit status

sordi exits with a status of 0, or non-zero if an error occurred.

Releases

8 releases since Debian 7 (Wheezy); the text changed 5 times.

  1. 7
  2. 8
  3. 9–11
  4. 12
  5. 13
  6. Arch

--help since Debian 13 (Trixie).

Standards

W3C, RDF 1.1 NQuads, February 2014. https://www.w3.org/TR/n-quads/

W3C, RDF 1.1 NTriples, February 2014. https://www.w3.org/TR/n-triples/

W3C, RDF 1.1 TriG, February 2014. https://www.w3.org/TR/trig/

W3C, RDF 1.1 Turtle, February 2014. https://www.w3.org/TR/turtle/

Authors

sordi is a part of sord, by David Robillard ⟨[email protected]⟩.

From sord 0.16.22-1 in Arch Linux 2026-11-01. Parsed by carta from the page's mdoc source.