[2408.07494] QirK: Question Answering via Intermediate Representation on Knowledge Graphs