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