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