Pistol is a type of Weapon. Weapon can be used for Hunting. Lion can be used for Hunting. 
Shelter is related to Nest. Nest is related to Outside. Outside is related to Market. Market is related to Store. 
Pistol --IsA--> Weapon --UsedFor--> Hunting <--UsedFor-- Lion 
Shelter <--RelatedTo--> Nest <--RelatedTo--> Outside <--RelatedTo--> Market <--RelatedTo--> Store 