utility to pull all the targets out of a set of relationships.