What is the {animated feature film} for {voice actor} of {Tom Hanks}
[]
When did animated feature film for voice actor of Tom Hanks?
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:animated_feature_film . ?a 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/Q29168811> } 
 select distinct ?sbj where { ?sbj wdt:P725 wd:Q2263 . ?sbj wdt:P31 wd:Q29168811 } 
Toy Story Toy Story 2 Toy Story 3