When was Bonar Law elected as a member of the 30th Parliament of the United Kingdom and why did he leave the position?
SELECT ?value1 ?value2 WHERE { wd:Q166663 p:P39 ?s . ?s ps:P39 wd:Q41582581 . ?s pq:P2715 ?value1 . ?s pq:P1534 ?value2 }
bonar law: Q166663 member of the 30th parliament of the united kingdom: Q41582581