King is related to Mate. Mate is the opposite of Opponent. Opponent is a synonym of Competitor. 
Cake is related to Essential. Essential is a synonym of Necessity. Necessity is related to Wire. 
King <--RelatedTo--> Mate <--Antonym--> Opponent <--Synonym--> Competitor 
Cake <--RelatedTo--> Essential <--Synonym--> Necessity <--RelatedTo--> Wire 