Machine can be used for Cook. Cook is related to Occupation. Architecture is a type of Occupation. Architecture is derived from Architect. 
Boil is a type of Cook. 
Machine --UsedFor--> Cook <--RelatedTo--> Occupation <--IsA-- Architecture --DerivedFrom--> Architect 
Cook <--IsA-- Boil 