Question: What position did Henry Temple, 3rd Viscount Palmerston hold 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')) }