Question: What electoral district did Thomas Wakley as Member of the 12th Parliament of the United Kingdom hold?
SPARQL (Wikidata): SELECT ?value WHERE { wd:Q334239 p:P39 ?s . ?s ps:P39 wd:Q41582548 . ?s pq:P768 ?value}