Question: When was Nicolas Sarkozy elected president?
SPARQL (Wikidata):  select distinct ?obj where { wd:Q329 wdt:P793 ?obj . ?obj wdt:P31 wd:Q5227309 }