Joining Triples to Create a Graph