Create relationship between topics and votes.