summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Car <nicholas.car@surroundaustralia.com>2022-01-10 00:55:53 +1000
committerGitHub <noreply@github.com>2022-01-10 00:55:53 +1000
commitda9c5a2f15723c6c9d6ff2ad495fbda464bd34a8 (patch)
treed4a94ee2f7fd34d74396b8b97b6e35c5ed9b48cd
parentc332583898a80a1ba94abfb88ec717a2fd02bc3c (diff)
downloadrdflib-da9c5a2f15723c6c9d6ff2ad495fbda464bd34a8.tar.gz
Update rdflib/plugins/parsers/hext.py
Co-authored-by: Iwan Aucamp <aucampia@gmail.com>
-rw-r--r--rdflib/plugins/parsers/hext.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rdflib/plugins/parsers/hext.py b/rdflib/plugins/parsers/hext.py
index 3006f1be..d201e581 100644
--- a/rdflib/plugins/parsers/hext.py
+++ b/rdflib/plugins/parsers/hext.py
@@ -55,7 +55,7 @@ class HextuplesParser(Parser):
# 3 - value
o: Union[URIRef, BNode, Literal]
if tup[3] == "globalId":
- o = cast(URIRef, URIRef(tup[2]))
+ o = URIRef(tup[2])
elif tup[3] == "localId":
o = BNode(value=tup[2].replace("_:", ""))
else: # literal