What is {residence} of {László Moholy-Nagy} that is {end time} is {1937-0-0} ?
At the end of 1937, where did László Moholy-Nagy reside?
What was the residentce of László Moholy-Nagy in the end of 1937?
SELECT ?n WHERE { resource:László_Moholy-Nagy property:residence ?c . ?c property:end_time ?i . FILTER ( CONTAINS ( YEAR ( ?i ) , '1937' ) ) . ?c property:residence ?n }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q160448> .
?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/P582> <1937-0-0>
} 

SELECT ?obj WHERE { wd:Q160448 p:P551 ?s . ?s ps:P551 ?obj . ?s pq:P582 ?x filter(contains(YEAR(?x),'1937')) }