What is {work} of {actress} of {Once Upon a Time in the West} ?
Who is the on-screen character of "Once Upon a Time within the West"?
Who is the actress of "Once Upon a Time in the West"?
SELECT ?n WHERE { resource:Once_Upon_a_Time_in_the_West property:cast_member ?w . ?w property:occupation ?n }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q168154> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P161>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?X . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?X. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P106> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q168154 wdt:P161 ?X . ?X wdt:P106 ?answer}
screenwriter television producer beekeeper stage actor naval officer television actor film actor screenwriter actor character actor television actor film actor actor film actor screenwriter actor composer film director film producer film actor manufacturer actor stage actor voice actor television actor film actor screenwriter actor writer film director film actor actor television actor film actor film producer film actor actor stage actor film actor actor stage actor television actor film actor film actor actor television actor film actor athletics competitor professional wrestler American football player actor journalist television actor film actor film actor actor singer film actor film actor actor character actor stage actor voice actor television actor film actor television actor film actor screenwriter film director film producer film actor actor stage actor voice actor film actor television actor film actor screenwriter actor film director television actor film actor actor film actor actor stage actor film actor actor film actor actor stage actor television actor film actor actor actor film actor film actor actor