Dock is a type of Platform. Platform is related to Bar. Bolt is a type of Bar. 
Soap is related to Box. Box is related to Safe. 
Dock --IsA--> Platform <--RelatedTo--> Bar <--IsA-- Bolt 
Soap <--RelatedTo--> Box <--RelatedTo--> Safe 