Yell is a synonym of Cry. Cry is related to Shed. 
Pit is a synonym of Stone. you are likely to find Sword in/at/on Stone. 
Yell <--Synonym--> Cry <--RelatedTo--> Shed 
Pit <--Synonym--> Stone <--AtLocation-- Sword 