Valuable is related to Mine. Mine is related to Cave. 
Quit is the opposite of Join. Join is related to Unit. 
Valuable <--RelatedTo--> Mine <--RelatedTo--> Cave 
Quit <--Antonym--> Join <--RelatedTo--> Unit 