Set Intersections, Perfect Graphs, and Voting in Agreeable Societies