Did {Inglourious_Basterds} {cast member} {Mike Myers} and {Michael Bacall} ?
Were Mike Myers and Michael Bacall actors in Inglorious Basterds?
Did Inglorious Basterds feature Mike Myers and Michael Bacall?
ASK WHERE { resource:Inglourious_Basterds property:cast_member resource:Michael_Bacall . resource:Inglourious_Basterds property:cast_member resource:Mike_Myers }
 ASK { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q153723> . ?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> <http://wikidata.dbpedia.org/resource/Q185724>. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q153723> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P161> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q2262850>. } 
ASK WHERE { wd:Q153723 wdt:P161 wd:Q185724 . wd:Q153723 wdt:P161 wd:Q2262850 }