your first question should be to ask the first God "If I asked you 'is the second God the God of Knives', would you say 'yes'?" If the first God answers "yes", you know the God of Knives is either the first or the second God, so you can ask the third God, "If I asked you 'are you the God of Knights', would you say 'yes'?" and after that you can ask the third God "If I asked you 'is the first God the God of Knives', would you say 'yes'?" and this will be enough to tell you the identity of all three Gods. On the other hand, if the answer to your first question was "no", then you know the God of Knives is either the first or the third God, so you would ask the *second* God the same two subsequent questions as above.
...and simply replace every "yes" with "Ja" and every "no" with "Da":
your first question should be to ask the first God "If I asked you 'is the second God the God of Knives', would you say 'Ja'?" If the first God answers "Ja", you know the God of Knives is either the first or the second God, so you can ask the third God, "If I asked you 'are you the God of Knights', would you say 'Ja'?" and after that you can ask the third God "If I asked you 'is the first God the God of Knives', would you say 'Ja'?" and this will be enough to tell you the identity of all three Gods. On the other hand, if the answer to your first question was "Da", then you know the God of Knives is either the first or the third God, so you would ask the *second* God the same two subsequent questions as above.
...keeping in mind, again, that if you ask a god "If I asked you X, would you say 'Ja'?", then if he says "Ja" that means X must be true if the god was a knight or a knave, and if he says "Da" X must be false if the god was a knight or a knave.
Jesse