House is related to Roof. you are likely to find Beam in/at/on Roof. Beam is related to Structural. 
Apartment is related to City. 
House <--RelatedTo--> Roof <--AtLocation-- Beam <--RelatedTo--> Structural 
Apartment <--RelatedTo--> City 