aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-10-14 23:26:41 +0200
committerDavid Robillard <d@drobilla.net>2021-03-08 23:36:08 -0500
commit1fd33e0a85bdf6bcc4f8138940462c4a4a391175 (patch)
treefab500d072049701370f45c5ae2af76683d8fd1f /doc
parent7efaf2431b9c1a96f6ed2e28626aff4886efc749 (diff)
downloadserd-1fd33e0a85bdf6bcc4f8138940462c4a4a391175.tar.gz
serd-1fd33e0a85bdf6bcc4f8138940462c4a4a391175.tar.bz2
serd-1fd33e0a85bdf6bcc4f8138940462c4a4a391175.zip
Add support for converting literals to canonical form
Diffstat (limited to 'doc')
-rw-r--r--doc/serdi.119
1 files changed, 18 insertions, 1 deletions
diff --git a/doc/serdi.1 b/doc/serdi.1
index 888dab03..fcd58535 100644
--- a/doc/serdi.1
+++ b/doc/serdi.1
@@ -6,7 +6,7 @@
.Nd read and write RDF syntax
.Sh SYNOPSIS
.Nm serdi
-.Op Fl abefhlqv
+.Op Fl Cabefhlqv
.Op Fl I Ar base
.Op Fl c Ar prefix
.Op Fl i Ar syntax
@@ -43,6 +43,23 @@ the URI of the file is automatically used as the base URI.
This option can be used to override that,
or to provide a base URI for input from stdin or a string.
.Pp
+.It Fl C
+Convert literals to canonical form.
+Literals with supported XSD datatypes will be parsed and rewritten canonically.
+All numeric datatypes are supported, as well as
+.Vt boolean ,
+.Vt duration ,
+.Vt datetime ,
+.Vt time ,
+.Vt hexBinary ,
+and
+.Vt base64Binary .
+.Pp
+.It Fl S
+Stream model quickly without inlining.
+This only has an effect when a model is used, and disables searching and statement reordering for pretty printing.
+Statements will be written in simple sorted order, which is faster, but may result in less readable output in Turtle or TriG.
+.Pp
.It Fl V
Validate inputs.
All necessary data, including schemas, must be passed as inputs.