Friendly is the opposite of Enemy. 
Hardware is the opposite of Software. Pro is a type of Software. Pro is related to Golf. Golf is related to Course. 
Friendly <--Antonym--> Enemy 
Hardware <--Antonym--> Software <--IsA-- Pro <--RelatedTo--> Golf <--RelatedTo--> Course 