diff options
author | Edmond <edmond.chuc@outlook.com> | 2021-12-10 00:01:19 +1100 |
---|---|---|
committer | Edmond <edmond.chuc@outlook.com> | 2021-12-10 00:01:19 +1100 |
commit | 8ea101d1ff899ede259425a150e8216910c82296 (patch) | |
tree | 8be2012c52102254c4ccd8270b666861e6feb834 | |
parent | e63450a5755117e15fab99296cf88f3f3ac9364f (diff) | |
download | rdflib-8ea101d1ff899ede259425a150e8216910c82296.tar.gz |
Use RDFLibGenid instead of Genid to maintain original blank node id when performing de-skolemization.
-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 e3b705f5..c74d32db 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 Genid(urljoin(authority, skolem)) + return RDFLibGenid(urljoin(authority, skolem)) class Literal(Identifier): |