Question: When did James Matheson held a position as the Member of the 19th Parliament of the United Kingdom and why did it end?
Paraphrase: When was James Matheson a Member of the 19th Parliament of the UK and why did it end>
SPARQL (Wikidata): SELECT ?value1 ?value2 WHERE { wd:Q4870843 p:P39 ?s . ?s ps:P39 wd:Q41582559 . ?s pq:P582 ?value1 . ?s pq:P1534 ?value2 }