Dangerous is derived from Danger. Alarm can cause/lead to Danger. Alarm is related to Bedroom. Bedroom is typically near Bathroom. 
Spy is a type of Monitor. Spy wants (to) Information. Information is related to Learning. Text can be used for Learning. 
Dangerous --DerivedFrom--> Danger <--Causes-- Alarm <--RelatedTo--> Bedroom <--LocatedNear--> Bathroom 
Monitor <--IsA-- Spy --Desires--> Information <--RelatedTo--> Learning <--UsedFor-- Text 