def _triplify_object(self, data, parent):
subject = self.get_subject(data)<EOL>if self.path:<EOL><INDENT>yield (subject, TYPE_SCHEMA, self.path, TYPE_SCHEMA)<EOL><DEDENT>if parent is not None:<EOL><INDENT>yield (parent, self.predicate, subject, TYPE_LINK)<EOL>if self.reverse is not None:<EOL><INDENT>yield (subject, self.reverse, parent, TYPE_LINK)<EOL><DEDENT><DEDENT>for prop in self.properties:<EOL><INDENT>for res in prop.triplify(data.get(prop.name), subject):<EOL><INDENT>yield res<EOL><DEDENT><DEDENT>
Create bi-directional statements for object relationships.