Building can be used for Shelter. Shelter is a type of Supply. Supply is related to Storage. Shelf can be used for Storage. 
Thanks is a type of Aid. Thanks is a form of Thank. Gift would make you want to Thank. Gift is a synonym of Donate. 
Building --UsedFor--> Shelter --IsA--> Supply <--RelatedTo--> Storage <--UsedFor-- Shelf 
Aid <--IsA-- Thanks --FormOf--> Thank <--CausesDesire-- Gift <--Synonym--> Donate 