Photograph is a synonym of Snap. Snap is related to Whip. 
Dance is related to Wedding. Wedding is a type of Party. Contractor is a type of Party. 
Photograph <--Synonym--> Snap <--RelatedTo--> Whip 
Dance <--RelatedTo--> Wedding --IsA--> Party <--IsA-- Contractor 