Boss is related to Teacher. Teacher is a type of Academic. Academic is related to Class. Class is related to Study. 
Prefer is a type of Pay. Pay is the opposite of Lend. 
Boss <--RelatedTo--> Teacher --IsA--> Academic <--RelatedTo--> Class <--RelatedTo--> Study 
Prefer --IsA--> Pay <--Antonym--> Lend 