A man is on the fine line between genius and insane. His inventions and cures have saved the lives of millions yet he has committed horrible crimes. The king has no idea what to do with him, so he lets the man make his own choice with a twist.
The king summons the genius to his castle, and when he arrives he finds three IDENTICAL knights standing before him. One of grey, one of gold, and one of black. The king explains that the man will choose a single knight to decide his fate. If he chose the golden knight he will be set free. If he chose the grey knight he will be put in a dungeon for the rest of his life. If he chose the black knight he will be executed.
The golden knight only told truth, the grey knight randomly told truth and lies, and the black knight only told lies. All knights only answered yes or no but they spoke ra and ja. The man did not know which meant which. The king finally explained that the man could only ask three question. Without batting an eye the man asked the three questions and walked out happy and free. What did he ask?
Edit: The man can only ask the question to one particular knight. Also he can ask 1 knight 3 question if he wanted to, he doesn't have to ask one each. The king does not choose the knight!