ifIf you are talking about "generating" in the sense of generative models , it is pretty tough. since we are still far beyond understanding the actual structure of question-answering. and
And even state of the art methods for question answering are also not able to score well on datasets like babi, (mostlybabi , mostly 16 out of 20 tasks can be solved).