Object is related to Toy. Toy is related to Room. you are likely to find Room in/at/on School. you are likely to find Logic in/at/on School. 
Top is related to Mayor. Mayor is related to Town. 
Object <--RelatedTo--> Toy <--RelatedTo--> Room --AtLocation--> School <--AtLocation-- Logic 
Top <--RelatedTo--> Mayor <--RelatedTo--> Town 