what is the {end time} for {Theodor Herzl} has {place of burial} as {Döbling} ?
Theodor Herzl was buried in Dobling when?
When was Theodor Herzl buried in Dobling?
SELECT ?j WHERE { ?e property:place_of_burial resource:Döbling . resource:Theodor_Herzl property:place_of_burial ?e . ?e property:end_time ?j }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q44003> .
?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> <http://wikidata.dbpedia.org/resource/Q267360> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

SELECT ?value WHERE { wd:Q44003 p:P119 ?s . ?s ps:P119 wd:Q267360 . ?s pq:P582 ?value}