Skip to content

Commit

Permalink
Use RDFLibGenid instead of Genid to maintain original blank node id w…
Browse files Browse the repository at this point in the history
…hen performing de-skolemization.
  • Loading branch information
edmondchuc committed Dec 9, 2021
1 parent e63450a commit 8ea101d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rdflib/term.py
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ def skolemize(self, authority=None, basepath=None):
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):
Expand Down

0 comments on commit 8ea101d

Please sign in to comment.