What is the {film} for {characters} of {Wyatt Earp}
Who is the { film } of the { Wyatt Earp } characters?
Who is the{film} for {characters} of {Wyatt Earp}
SELECT DISTINCT ?u WHERE { ?u property:characters resource:Wyatt_Earp . ?u 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/P674> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q44616> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q11424> } 
 select distinct ?sbj where { ?sbj wdt:P674 wd:Q44616 . ?sbj wdt:P31 wd:Q11424 } 
Wyatt Earp Tombstone