Arab is a type of Human. you are likely to find Human in/at/on Factory. Factory is related to Warehouse. Warehouse is related to Building. 
Test is related to Tool. Tool is related to Shed. you are likely to find Shed in/at/on Backyard. 
Arab --IsA--> Human --AtLocation--> Factory <--RelatedTo--> Warehouse <--RelatedTo--> Building 
Test <--RelatedTo--> Tool <--RelatedTo--> Shed --AtLocation--> Backyard 