Afford is related to Buy. 
Contain is the opposite of Let. Let is the opposite of Prevent. Prevention is derived from Prevent. 
Afford <--RelatedTo--> Buy 
Contain <--Antonym--> Let <--Antonym--> Prevent <--DerivedFrom-- Prevention 