Line is related to Pen. Pen is the opposite of Close. Close is a type of Move. Move is a type of Decision. 
Road is related to Lock. Lock is related to Safe. 
Line <--RelatedTo--> Pen <--Antonym--> Close --IsA--> Move --IsA--> Decision 
Road <--RelatedTo--> Lock <--RelatedTo--> Safe 