Question: Which position did William IV from the UK, hold in 1830?
SPARQL (Wikidata): SELECT ?obj WHERE { wd:Q130822 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P580 ?x filter(contains(YEAR(?x),'1830')) }