rdf-canonize
rdf-canonize copied to clipboard
canonize xsd:duration
Related to https://github.com/BorderCloud/TFT-tests/issues/15, it would be useful to canonize xsd:duration, xsd:yearMonthDuration, xsd:dayTimeDuration.
I tried with jsonld-cli
and a duration like "PT1M0.000S"^^<http://www.w3.org/2001/XMLSchema#duration>
is not normalized to "PT1M"^^<http://www.w3.org/2001/XMLSchema#duration>
(removing the empty seconds).
If jsonld-cli
doesn't use this library, please accept my apologies and point me to the right repo.