Retail is the opposite of Cost. 
End is a type of Contribution. one thing you do when you Writing is End. Writing is related to Function. 
Retail <--Antonym--> Cost 
Contribution <--IsA-- End <--HasSubevent-- Writing <--RelatedTo--> Function 