diff options
author | Edmond <edmond.chuc@outlook.com> | 2021-12-09 23:56:04 +1100 |
---|---|---|
committer | Edmond <edmond.chuc@outlook.com> | 2021-12-09 23:56:04 +1100 |
commit | e63450a5755117e15fab99296cf88f3f3ac9364f (patch) | |
tree | 1161262d6252edc35d3c2a5d3bfb0f6a198f8a56 | |
parent | 327de4ecc9e7a9a7c73b55d1b59b6e1e600f64ed (diff) | |
download | rdflib-e63450a5755117e15fab99296cf88f3f3ac9364f.tar.gz |
Fix BNode.skolemize() returning a URIRef instead of a Genid.
-rw-r--r-- | rdflib/term.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rdflib/term.py b/rdflib/term.py index 796a76b3..e3b705f5 100644 --- a/rdflib/term.py +++ b/rdflib/term.py @@ -446,7 +446,7 @@ class BNode(Identifier): if basepath is None: basepath = rdflib_skolem_genid skolem = "%s%s" % (basepath, str(self)) - return URIRef(urljoin(authority, skolem)) + return Genid(urljoin(authority, skolem)) class Literal(Identifier): |