different relationships in graphs - Search