Factory is related to Producer. 
Bucket is related to Liquid. you are likely to find Liquid in/at/on Container. Pan is a type of Container. 
Factory <--RelatedTo--> Producer 
Bucket <--RelatedTo--> Liquid --AtLocation--> Container <--IsA-- Pan 