Lover is a synonym of Fan. Fan is related to Transfer. Transfer is a type of Travel. 
Programming is related to Class. 
Lover <--Synonym--> Fan <--RelatedTo--> Transfer --IsA--> Travel 
Programming <--RelatedTo--> Class 