What is the {anime} for {producer} of {Hayao Miyazaki}
Title a motion picture from Hayao Miyazaki
Name a movie from Hayao Miyazaki
SELECT DISTINCT ?w WHERE { ?w property:producer resource:Hayao_Miyazaki . ?w rdf:type ontology:anime }
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/P162> . ?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/Q1107> } 
 select distinct ?sbj where { ?sbj wdt:P162 wd:Q55400 . ?sbj wdt:P31 wd:Q1107 } 