Rim is related to Cup. Cup is a type of Container. Drum is a type of Container. 
Candidate is related to Democrat. Democrat is related to Political. Political is related to Job. Job is a synonym of Speculate. 
Rim <--RelatedTo--> Cup --IsA--> Container <--IsA-- Drum 
Candidate <--RelatedTo--> Democrat <--RelatedTo--> Political <--RelatedTo--> Job <--Synonym--> Speculate 