What is {residence} of {Osama bin Laden} that is {start time} is {1991-0-0} ?
In 1991, where did Osama Bin Laden live?
Where did Osama Bin Laden live in the year 1991?
SELECT ?a WHERE { FILTER ( CONTAINS ( YEAR ( ?q ) , '1991' ) ) . resource:Osama_bin_Laden property:residence ?m . ?m property:start_time ?q . ?m property:residence ?a }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1317> .
?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> <1991-0-0>
} 

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