Barrier is related to Wall. Wall is a type of Fence. Fence is related to Field. 
String is a type of Rope. Rope is related to Hang. Hang is related to Punishment. Punishment is related to Justice. 
Barrier <--RelatedTo--> Wall --IsA--> Fence <--RelatedTo--> Field 
String --IsA--> Rope <--RelatedTo--> Hang <--RelatedTo--> Punishment <--RelatedTo--> Justice 