Sweep is a type of Software. Brain is a type of Software. Brain is related to Imagination. 
Hazard is related to Material. 
Sweep --IsA--> Software <--IsA-- Brain <--RelatedTo--> Imagination 
Hazard <--RelatedTo--> Material 