what is the {end time} for {Louis XV of France} has {position held} as {King of France and Navarre} ?
When was it that Louis XV of France and Navarre die?
What year did Louis XV of France and Navarre pass away?
SELECT ?w WHERE { resource:Louis_XV_of_France property:position_held ?p . ?p property:end_time ?w . ?p property:position_held resource:King_of_France_and_Navarre }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q7738> .
?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/Q3439798> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

SELECT ?value WHERE { wd:Q7738 p:P39 ?s . ?s ps:P39 wd:Q3439798 . ?s pq:P582 ?value}