what is the {end time} for {Charles VI of France} has {position held} as {King of France} ?
When was Charles VI of France appointed the king of France?
What time Charles VI of France has been positioned as king of France?
SELECT ?d WHERE { ?i property:position_held resource:King_of_France . resource:Charles_VI_of_France property:position_held ?i . ?i property:end_time ?d }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q160349> .
?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:Q160349 p:P39 ?s . ?s ps:P39 wd:Q18384454 . ?s pq:P582 ?value}