What is the {film} for {producer} of {Hayao Miyazaki}
[]
Hayao Miyazaki is the producer of what film?
SELECT DISTINCT ?f WHERE { ?f property:producer resource:Hayao_Miyazaki . ?f rdf:type ontology: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/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/Q11424> } 
 select distinct ?sbj where { ?sbj wdt:P162 wd:Q55400 . ?sbj wdt:P31 wd:Q11424 } 
Yanagawa Horiwari Monogatari