Walk is a type of Accompany. Walk is related to Swim. Swim is related to Type. Type is related to Dance. 
Legislative is related to Court. Court is related to Case. Case is related to Lawyer. Lawyer is related to Man. 
Accompany <--IsA-- Walk <--RelatedTo--> Swim <--RelatedTo--> Type <--RelatedTo--> Dance 
Legislative <--RelatedTo--> Court <--RelatedTo--> Case <--RelatedTo--> Lawyer <--RelatedTo--> Man 