What is {chief executive officer} of {Einsatzgruppen} that is {start time} is {1939-0-0} ?
Give me the name of the chief executive officer of Einsatzgruppen who began work in the year 1939?
Who was the chief executive officer of Einsatzgruppen who began work in the year 1939?
SELECT ?g WHERE { ?z property:start_time ?a . FILTER ( CONTAINS ( YEAR ( ?a ) , '1939' ) ) . ?z property:chief_executive_officer ?g . resource:Einsatzgruppen property:chief_executive_officer ?z }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q152543> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P169> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P580> <1939-0-0>
} 

SELECT ?obj WHERE { wd:Q152543 p:P169 ?s . ?s ps:P169 ?obj . ?s pq:P580 ?x filter(contains(YEAR(?x),'1939')) }