What is {excavation director} of {Pompeii} that is {end time} is {1825-0-0} ?
In 1825, who resigned as excavation director of works in Pompeii?
Who stepped down as the excavation director of works in Pompeii in 1825?
SELECT ?j WHERE { ?f property:director_of_archaeological_fieldwork ?j . FILTER ( CONTAINS ( YEAR ( ?e ) , '1825' ) ) . ?f property:end_time ?e . resource:Pompeii property:director_of_archaeological_fieldwork ?f }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q43332> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P4345> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P582> <1825-0-0>
} 

SELECT ?obj WHERE { wd:Q43332 p:P4345 ?s . ?s ps:P4345 ?obj . ?s pq:P582 ?x filter(contains(YEAR(?x),'1825')) }