Few-shot In-context Learning for Knowledge Base Question Answering