What is {place of burial} of {Gaspard Monge} that is {burial plot reference} is {18} ?
Where is the National Gallery of Art headquartered at at the coordinates 38.89147 -77.02001?
What year did Gaspard Monge die?
SELECT ?p WHERE { ?l property:place_of_burial ?p . resource:Gaspard_Monge property:place_of_burial ?l . FILTER ( ?c = 18 ) . ?l property:burial_plot_reference ?c }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q206832> .
?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> <18>
} 

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