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 Mar 14, 2020
1 parent c3b9d36 commit c418d2f
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 @@ -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*
Expand All @@ -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()
Expand Down

0 comments on commit c418d2f

Please sign in to comment.