What is the {animated film} for {voice actor} of {Tom Hanks}
Which is the energized film that's voiced by Tom Hanks?
Which is the animated film that is voiced by Tom Hanks?
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:animated_film . ?s property:voice_actor resource:Tom_Hanks }
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/P725> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q2263> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q202866> } 
 select distinct ?sbj where { ?sbj wdt:P725 wd:Q2263 . ?sbj wdt:P31 wd:Q202866 } 
Toy Story 4