What is {residence} of {Sun Yat-sen} that is {start time} is {1896-10-1} ?
Where did Sun Yat-sen live 1896-10-1?
What is residence of Sun Yat-sen that is start time is 1896-10-1 ?
SELECT ?b WHERE { resource:Sun_Yat-sen property:residence ?b . ?b property:start_time ?u . ?b property:residence ?b . FILTER ( CONTAINS ( YEAR ( ?u ) , '1896' ) ) }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q8573> .
?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> <1896-10-1>
} 

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