Prison is related to Facility. Ranch is a type of Facility. 
Restaurant is a type of Magazine. Curve is a type of Magazine. Envelope is a type of Curve. 
Prison <--RelatedTo--> Facility <--IsA-- Ranch 
Restaurant --IsA--> Magazine <--IsA-- Curve <--IsA-- Envelope 