Chocolate is related to Dessert. Dessert is related to Pie. you are likely to find Pie in/at/on Refrigerator. you are likely to find Refrigerator in/at/on Apartment. 
Attempt is a synonym of Attack. Attack is related to Dog. 
Chocolate <--RelatedTo--> Dessert <--RelatedTo--> Pie --AtLocation--> Refrigerator --AtLocation--> Apartment 
Attempt <--Synonym--> Attack <--RelatedTo--> Dog 