Question: What position did Henry Temple, 3rd Viscount Palmerston hold until June 23, 1841?
Paraphrase: Henry Temple, 3rd Viscount Palmerston held what position until June 23, 1841?
SPARQL (Wikidata): SELECT ?obj WHERE { wd:Q193656 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P582 ?x filter(contains(YEAR(?x),'1841')) }