diff options
author | Natanael Arndt <arndtn@gmail.com> | 2021-07-16 19:54:08 +0200 |
---|---|---|
committer | Natanael Arndt <arndtn@gmail.com> | 2021-07-16 19:54:08 +0200 |
commit | 2a2bf09f19f16e4c97e76eb17ad8359613b9ce6b (patch) | |
tree | 190d5464314c7cbc9bd8ca256712b913d2c5a75d | |
parent | c389cb78e642daf525512ec84e5350f57f635910 (diff) | |
download | rdflib-2a2bf09f19f16e4c97e76eb17ad8359613b9ce6b.tar.gz |
add xsd dayTimeDuration and yearMonthDuration
-rw-r--r-- | rdflib/namespace/_XSD.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rdflib/namespace/_XSD.py b/rdflib/namespace/_XSD.py index 48e9a0f4..252b5ab2 100644 --- a/rdflib/namespace/_XSD.py +++ b/rdflib/namespace/_XSD.py @@ -28,6 +28,7 @@ class XSD(DefinedNamespace): byte: URIRef # see: http://www.w3.org/TR/xmlschema-2/#byte date: URIRef # see: http://www.w3.org/TR/xmlschema-2/#date dateTime: URIRef # see: http://www.w3.org/TR/xmlschema-2/#dateTime + dayTimeDuration: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#dayTimeDuration decimal: URIRef # see: http://www.w3.org/TR/xmlschema-2/#decimal double: URIRef # see: http://www.w3.org/TR/xmlschema-2/#double duration: URIRef # see: http://www.w3.org/TR/xmlschema-2/#duration @@ -55,5 +56,6 @@ class XSD(DefinedNamespace): unsignedInt: URIRef # see: http://www.w3.org/TR/xmlschema-2/#unsignedInt unsignedLong: URIRef # see: http://www.w3.org/TR/xmlschema-2/#unsignedLong unsignedShort: URIRef # see: http://www.w3.org/TR/xmlschema-2/#unsignedShort + yearMonthDuration: URIRef # see: http://www.w3.org/TR/xmlschema11-2/#yearMonthDuration _NS = Namespace("http://www.w3.org/2001/XMLSchema#") |