Skip to content

Commit

Permalink
Working on RDFLib#955 document that sid is a statement identifier.
Browse files Browse the repository at this point in the history
  • Loading branch information
JervenBolleman committed May 10, 2020
1 parent 4856c6a commit 3447e9a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rdflib/term.py
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,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*
Expand All @@ -452,7 +453,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()
Expand Down

0 comments on commit 3447e9a

Please sign in to comment.