Similar Items: Defining Recursive Predicates in Graph Orders