Class is related to Servant. Servant is the opposite of Rich. Rich is related to Resort. Resort is related to Tourism. 
Component is related to Page. Page is a type of Work. Work is a different concept from Fun. Tennis can be Fun. 
Class <--RelatedTo--> Servant <--Antonym--> Rich <--RelatedTo--> Resort <--RelatedTo--> Tourism 
Component <--RelatedTo--> Page --IsA--> Work <--DistinctFrom--> Fun <--HasProperty-- Tennis 