Question: In what year was the cotton gin invented?
Sentence: The invention of the cotton gin in 1793 revolutionized the processing of this crop, making short-staple cotton profitable.
Answer in sentence: yes