Question: When did Antonio Guterres first become General Secretary of the Socialist Party in Portugal?
Paraphrase: What year did Antonio Guterres first become General Secretary of the Socialist party in portugal?
SPARQL (Wikidata): SELECT ?value WHERE { wd:Q311440 p:P39 ?s . ?s ps:P39 wd:Q27134289 . ?s pq:P580 ?value}