What electoral district did Thomas Wakley as Member of the 12th Parliament of the United Kingdom hold?
SELECT ?value WHERE { wd:Q334239 p:P39 ?s . ?s ps:P39 wd:Q41582548 . ?s pq:P768 ?value}
thomas wakley: Q334239 member of the 12th parliament of the united kingdom: Q41582548