Engineer is related to Man. Man is related to Artificial. Artificial is related to Equal. Equal is a synonym of Imply. 
Cooking is related to Garlic. 
Engineer <--RelatedTo--> Man <--RelatedTo--> Artificial <--RelatedTo--> Equal <--Synonym--> Imply 
Cooking <--RelatedTo--> Garlic 