For example, in Figure 1 banana and redberry are not directly connected but they can be reached via pear or raspberry.
by considering mediate relationships it becomes more difficult to determine the most appropriate category for each food item since most food items are connected to food items of different categories (in Figure 1, there are not only edges between banana and other types of fruits but there is also some edge to some sweet, i.e.