Hair is related to Grass. Backyard have Grass. you are likely to find Deck in/at/on Backyard. 
Affair is related to Activity. 
Hair <--RelatedTo--> Grass <--HasA-- Backyard <--AtLocation-- Deck 
Affair <--RelatedTo--> Activity 