When did Vicente Guerroro end his time as President of Mexico?
SELECT ?value WHERE { wd:Q315618 p:P39 ?s . ?s ps:P39 wd:Q628004 . ?s pq:P582 ?value}
vicente guerrero: Q315618 president of mexico: Q628004