Captain is etymologically related to Cap. 
Town can be used for Living. Planet can be used for Living. Planet is related to Star. Star is related to Wish. 
Cap <--EtymologicallyRelatedTo-- Captain 
Town --UsedFor--> Living <--UsedFor-- Planet <--RelatedTo--> Star <--RelatedTo--> Wish 