Question: Where was John Major elected as Member of the 51st Parliament of the United Kingdom and why did it end?
Paraphrase: How did John Major end his mandate in the Parliament of the UK and where was he elected?
SPARQL (Wikidata): SELECT ?value1 ?value2 WHERE { wd:Q9559 p:P39 ?s . ?s ps:P39 wd:Q41582627 . ?s pq:P2715 ?value1 . ?s pq:P1534 ?value2 }