Shelter is related to Nest. 
Prepare is a synonym of Arrange. Arrange is a synonym of Construct. Construct is a synonym of Idea. Idea is related to Function. 
Shelter <--RelatedTo--> Nest 
Prepare <--Synonym--> Arrange <--Synonym--> Construct <--Synonym--> Idea <--RelatedTo--> Function 