what is the {start time} for {Juan José Flores} has {position held} as {President of Ecuador} ?
At what time did José Flores begin his term as President of Ecuador?
When did Juan José Flores begin his term as President of Ecuador?
SELECT ?i WHERE { resource:Juan_José_Flores property:position_held ?r . ?r property:position_held resource:President_of_Ecuador . ?r property:start_time ?i }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q554933> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P39> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q732562> .
?statement <http://www.wikidata.org/entity/P580> ?value. 
} 

SELECT ?value WHERE { wd:Q554933 p:P39 ?s . ?s ps:P39 wd:Q732562 . ?s pq:P580 ?value}