What is {residence} of {Enrique Granados} that is {start time} is {1872-0-0} ?
In 1872, where did Enrique Granados live?
what residence did enrique granados live in 1872-0-0?
SELECT ?l WHERE { ?t property:start_time ?l . FILTER ( CONTAINS ( YEAR ( ?l ) , '1872' ) ) . resource:Enrique_Granados property:residence ?t . ?t property:residence ?l }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q294225> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P551> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P580> <1872-0-0>
} 

SELECT ?obj WHERE { wd:Q294225 p:P551 ?s . ?s ps:P551 ?obj . ?s pq:P580 ?x filter(contains(YEAR(?x),'1872')) }