Question: What was Friedrich Hayek's last year as President?
Paraphrase: When was the last year Friedrich Hayek's being president?
SPARQL (Wikidata): SELECT ?value WHERE { wd:Q1325 p:P39 ?s . ?s ps:P39 wd:Q30461 . ?s pq:P582 ?value}