From 89612ec05f596d135640413e093251fb9691ca14 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 30 May 2021 12:23:07 -0400 Subject: Add support for converting literals to canonical form --- doc/serdi.1 | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'doc/serdi.1') 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. -- cgit v1.2.1