Hard is related to Egg. Egg is related to Grocery. Butter is a type of Grocery. Butter is made of Milk. 
Cookie is related to Little. 
Hard <--RelatedTo--> Egg <--RelatedTo--> Grocery <--IsA-- Butter --MadeOf--> Milk 
Cookie <--RelatedTo--> Little 