What is the {animated film} for {film editor} of {Hayao Miyazaki}
[]
Which animated film did Hayao Miyazaki edit?
SELECT DISTINCT ?j WHERE { ?j property:film_editor resource:Hayao_Miyazaki . ?j rdf:type ontology:animated_film }
select distinct ?subj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?subj . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1040> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q55400> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q202866> } 
 select distinct ?sbj where { ?sbj wdt:P1040 wd:Q55400 . ?sbj wdt:P31 wd:Q202866 } 