Question: When was George Hamilton-Gordon, 4th Earl of Aberdeen as the Prime Minister of the United Kingdom?
SPARQL (Wikidata): SELECT ?value WHERE { wd:Q24631 p:P39 ?s . ?s ps:P39 wd:Q14211 . ?s pq:P580 ?value}