Classroom is related to Writing. Writing is related to Move. Move is related to Replace. 
you are likely to find Wall in/at/on Prison. Wall is related to Street. Street is related to Bird. you are likely to find Bird in/at/on Lawn. 
Classroom <--RelatedTo--> Writing <--RelatedTo--> Move <--RelatedTo--> Replace 
Prison <--AtLocation-- Wall <--RelatedTo--> Street <--RelatedTo--> Bird --AtLocation--> Lawn 