Person is related to Mad. Mad is the opposite of Happy. Happy is related to Wonderful. Wonderful is a synonym of Amazing. 
Lab is related to Doctor. Doctor is related to Unit. Group is a type of Unit. 
Person <--RelatedTo--> Mad <--Antonym--> Happy <--RelatedTo--> Wonderful <--Synonym--> Amazing 
Lab <--RelatedTo--> Doctor <--RelatedTo--> Unit <--IsA-- Group 