what is the {end time} for {Francis I of France} has {position held} as {King of France} ?
On what date did Francis I of France stop being King?
When did Francis I of France stop being King?
SELECT ?h WHERE { ?m property:position_held resource:King_of_France . ?m property:end_time ?h . resource:Francis_I_of_France property:position_held ?m }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q129857> .
?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/Q18384454> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

SELECT ?value WHERE { wd:Q129857 p:P39 ?s . ?s ps:P39 wd:Q18384454 . ?s pq:P582 ?value}