def get_contradiction_summary(graph: BELGraph) -> Iterable[Tuple[BaseEntity, BaseEntity, str]]:
for u, v in set(graph.edges()):<EOL><INDENT>relations = {data[RELATION] for data in graph[u][v].values()}<EOL>if relation_set_has_contradictions(relations):<EOL><INDENT>yield u, v, relations<EOL><DEDENT><DEDENT>
Yield triplets of (source node, target node, set of relations) for (source node, target node) pairs
    that have multiple, contradictory relations.