Question: When was Neville Chamberlain the Prime Minister of The United Kingdom?
Paraphrase: When did Neville Chamberlain serve as the UK Prime Minister?
SPARQL (Wikidata): SELECT ?value WHERE { wd:Q10664 p:P39 ?s . ?s ps:P39 wd:Q14211 . ?s pq:P580 ?value}