Complex sentence: Inmates on death row were initally at the time supposed to choose the best joke, according to Knight, and the winning joke to be kept secret until the time of his execution.
Split into simpler sentences: Inmates on death watch will determine the best joke, according to Knight. The winning joke will be kept secret up until the time of his execution.