Question: What number was Guadalupe Victoria President of Mexico?
Paraphrase: How many presidents preceded Guadalupe Victoria President of Mexico?
SPARQL (Wikidata): SELECT ?value WHERE { wd:Q311425 p:P39 ?s . ?s ps:P39 wd:Q628004 . ?s pq:P1545 ?value}