aboutsummaryrefslogtreecommitdiffstats
path: root/doc/serdi.1
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-05-30 12:23:07 -0400
committerDavid Robillard <d@drobilla.net>2022-01-14 19:37:51 -0500
commit89612ec05f596d135640413e093251fb9691ca14 (patch)
tree9c3e3d4491e6eb694aa0d429ba52ad80b0a5dc17 /doc/serdi.1
parentcab9b5621b4db600376090f28fdc76c7ac6bd728 (diff)
downloadserd-89612ec05f596d135640413e093251fb9691ca14.tar.gz
serd-89612ec05f596d135640413e093251fb9691ca14.tar.bz2
serd-89612ec05f596d135640413e093251fb9691ca14.zip
Add support for converting literals to canonical form
Diffstat (limited to 'doc/serdi.1')
-rw-r--r--doc/serdi.114
1 files changed, 13 insertions, 1 deletions
diff --git a/doc/serdi.1 b/doc/serdi.1
index e9d70857..59eb67ce 100644
--- a/doc/serdi.1
+++ b/doc/serdi.1
@@ -6,7 +6,7 @@
.Nd read, transform, and write RDF data
.Sh SYNOPSIS
.Nm serdi
-.Op Fl abefhlmqtvx
+.Op Fl Cabefhlmqtvx
.Op Fl I Ar base
.Op Fl c Ar prefix
.Op Fl i Ar syntax
@@ -35,6 +35,18 @@ or transform URIs and blank node IDs.
The options are as follows:
.Pp
.Bl -tag -compact -width 3n
+.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 I Ar base
Input base URI.
Relative URI references in the input will be resolved against this.