Question: Bonar Law was elected in what year and for what position?
Paraphrase: Bonar Law was chosen in what year and for what position?
SPARQL (Wikidata): SELECT ?value1 ?obj WHERE { wd:Q166663 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P2715 ?value1 . }