Nasty is related to Mean. Mean is a different concept from Happy. Happy is related to Please. Please is a synonym of Pray. 
Door is the opposite of Window. 
Nasty <--RelatedTo--> Mean <--DistinctFrom--> Happy <--RelatedTo--> Please <--Synonym--> Pray 
Door <--Antonym--> Window 