what is the {start time} for {Javier Pérez de Cuéllar} has {position held} as {United Nations Secretary-General} ?
In what year did Javier Perez de Cuiellar become Secretary-General of the UN?
When did Javier Perez de Cuiellar become the UN Secretary-General?
SELECT ?l WHERE { resource:Javier_Pérez_de_Cuéllar property:position_held ?l . ?l property:position_held resource:Secretary-General_of_the_United_Nations . ?l property:start_time ?l }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1259> .
?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/Q81066> .
?statement <http://www.wikidata.org/entity/P580> ?value. 
} 

SELECT ?value WHERE { wd:Q1259 p:P39 ?s . ?s ps:P39 wd:Q81066 . ?s pq:P580 ?value}