Question: What is the name of district of capital of Allahabad of India?
Paraphrase: Give me the name of Allahabad's district capital?
SPARQL (Wikidata):  select distinct ?obj where { wd:Q162442 wdt:P1376 ?obj . ?obj wdt:P31 wd:Q1149652 } 
Answer: Allahabad district