Question: What position did Valentin Gomez Farias hold until year 1833?
SPARQL (Wikidata): SELECT ?obj WHERE { wd:Q358534 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P582 ?x filter(contains(YEAR(?x),'1833')) }