What is the {film} for {producer} of {Ellen DeGeneres}
Ellen DeGeneres is the producer of which films?
What films has Ellen DeGeneres produced?
SELECT DISTINCT ?o WHERE { ?o property:producer resource:Ellen_DeGeneres . ?o 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/Q483325> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q11424> } 
 select distinct ?sbj where { ?sbj wdt:P162 wd:Q483325 . ?sbj wdt:P31 wd:Q11424 } 
Nancy Drew and the Hidden Staircase