Ms is related to Swimming. Bay can be used for Swimming. Bay is a type of Talk. 
Beat is a type of Shape. Beat is related to Whip. Whip is related to Device. 
Ms <--RelatedTo--> Swimming <--UsedFor-- Bay --IsA--> Talk 
Shape <--IsA-- Beat <--RelatedTo--> Whip <--RelatedTo--> Device 