Cancel is a type of Declare. 
Railroad is related to General. General is related to Soldier. Marine is a type of Soldier. 
Cancel --IsA--> Declare 
Railroad <--RelatedTo--> General <--RelatedTo--> Soldier <--IsA-- Marine 