What is {work location} of {Konrad Zacharias Lorenz} that is {start time} is {1940-8-31} ?
On the 31st August 1940, where did Konrad Zacharias Lorenz begin working?
Where did Konrad Zacharias Lorenz begin working on 8-31-1940?
SELECT ?z WHERE { FILTER ( CONTAINS ( YEAR ( ?m ) , '1940' ) ) . resource:Konrad_Lorenz property:work_location ?o . ?o property:work_location ?z . ?o property:start_time ?m }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q78496> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P937> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P580> <1940-8-31>
} 

SELECT ?obj WHERE { wd:Q78496 p:P937 ?s . ?s ps:P937 ?obj . ?s pq:P580 ?x filter(contains(YEAR(?x),'1940')) }