What is {place of burial} of {Joachim Murat} that is {burial plot reference} is {39} ?
What location is Joachim Murat buried?
Where is Joachim Murat buried?
SELECT ?f WHERE { FILTER ( CONTAINS ( ?i , '39' ) ) . ?a property:burial_plot_reference ?i . resource:Joachim_Murat property:place_of_burial ?a . ?a property:place_of_burial ?f }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q151173> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P119> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P965> <39>
} 

SELECT ?obj WHERE { wd:Q151173 p:P119 ?s . ?s ps:P119 ?obj . ?s pq:P965 ?x filter(contains(?x , '39')) }