What is {employer} of {Hayao Miyazaki} that is {end time} is {1984-0-0} ?
Who was Hayao Miyazaki's last employer in the year 1984?
SELECT ?obj WHERE { wd:Q55400 p:P108 ?s . ?s ps:P108 ?obj . ?s pq:P582 ?x filter(contains(YEAR(?x),'1984')) }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q55400> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P108> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P582> <1984-0-0>
} 

Who did Hayao Miyazaki work for in 1984?