Palm is related to Cookie. Cookie is related to Small. 
Occupation is related to Teacher. German is a type of Teacher. 
Palm <--RelatedTo--> Cookie <--RelatedTo--> Small 
Occupation <--RelatedTo--> Teacher <--IsA-- German 