Wet is related to Wave. Wave is related to Hand. Hand is related to Eating. 
Prosecutor is related to Government. Government is related to Politician. Legislator is a type of Politician. Legislator is a synonym of Lawmaker. 
Wet <--RelatedTo--> Wave <--RelatedTo--> Hand <--RelatedTo--> Eating 
Prosecutor <--RelatedTo--> Government <--RelatedTo--> Politician <--IsA-- Legislator <--Synonym--> Lawmaker 