What is the {film} for {cast member} of {Omar Sharif}
What movie is Omar Sharif in?
Name a movie with Omar Sharif
SELECT DISTINCT ?p WHERE { ?p property:cast_member resource:Omar_Sharif . ?p 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/P161> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q170515> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q11424> } 
 select distinct ?sbj where { ?sbj wdt:P161 wd:Q170515 . ?sbj wdt:P31 wd:Q11424 } 
One Night with the King Monsieur Ibrahim 10,000 BC Juggernaut Lawrence of Arabia Doctor Zhivago The Fall of the Roman Empire Top Secret! The Night of the Generals Genghis Khan Ashanti The 13th Warrior Behold a Pale Horse The Appointment Hassan and Marcus Mackennas Gold Hidalgo Che! The Pink Panther Strikes Again The Last Valley Oh! Heavenly Dog Funny Girl Funny Lady Goha Marco the Magnificent Bloodline Mayerling Mayrig The Rainbow Thief The Tamarind Seed The Possessed The Yellow Rolls-Royce The Burglars Law of the Desert 588 rue paradis Sira` Fi al-Wadi J'ai oublié de te dire La Isla misteriosa y el capitán Nemo The Lebanese Mission The Baltimore Bullet Imperium: Saint Peter There Is a Man In Our House Ard al-Salam Ayyamna al-Holwa Bidaya wa Nihaya Grand Larceny Hobbi al-Wahid War in the Land of Egypt Sleepless Sayyidat al-Qasr Sira` Fi al-Mina The Horsemen The River of Love The Traveller A Rumor of Love Siraa fil Nil Rock the Casbah Crime and Passion Green Ice Beyond Justice Agony of Love Pleasure Palace More Than a Miracle