Emergency is a type of Hazard. Hazard is related to Sign. you are likely to find Sign in/at/on Book. 
you are likely to find Robot in/at/on Factory. Factory is the opposite of Farm. 
Emergency --IsA--> Hazard <--RelatedTo--> Sign --AtLocation--> Book 
Robot --AtLocation--> Factory <--Antonym--> Farm 