From c418d2fec86f1cd0fb39cedd2e41d73d1cb65d7c Mon Sep 17 00:00:00 2001 From: Jerven bolleman Date: Sat, 14 Mar 2020 17:26:31 +0100 Subject: [PATCH] Working on #955 document that sid is a statement identifier. --- rdflib/term.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rdflib/term.py b/rdflib/term.py index a620e7a9c..5170f2ba1 100644 --- a/rdflib/term.py +++ b/rdflib/term.py @@ -438,6 +438,7 @@ def skolemize(self, authority=None, basepath=None): skolem = "%s%s" % (basepath, text_type(self)) return URIRef(urljoin(authority, skolem)) + class EmbeddedTriple: """ Triple: Needed for RDF* @@ -453,7 +454,7 @@ def __init__(self, sid=None, self._subject = subject self._predicate = predicate self._object = object - self._sid = sid + self._sid = sid #Statement Identifier def toPython(self): return self._subject.toPython() + self._predicate.toPython() + self._object.toPython()