There's a bunch of these -- might it be possible to use something like Relationship->all_pairs to deduplicate this somewhat?