When did John Major stopped being a Member of the 50th Parliament of the United Kingdom?
SELECT ?value WHERE { wd:Q9559 p:P39 ?s . ?s ps:P39 wd:Q41582624 . ?s pq:P1534 ?value}
john major: Q9559 member of the 50th parliament of the united kingdom: Q41582624