Garden is related to Bed. Bed is related to Item. Item is related to Apple. Apple is related to Pine. 
Task is related to Rule. you are likely to find Rule in/at/on Classroom. you are likely to find Globe in/at/on Classroom. 
Garden <--RelatedTo--> Bed <--RelatedTo--> Item <--RelatedTo--> Apple <--RelatedTo--> Pine 
Task <--RelatedTo--> Rule --AtLocation--> Classroom <--AtLocation-- Globe 