Did {Mr._Bean} {screenwriter} {Ben Elton} and {Paul Weiland} ?
For the move Mr. Bean, were the screenwriters Ben Elton and Paul Weiland?
Was Mr._Bean screenwriter Ben Elton and Paul Weiland?
ASK WHERE { resource:Mr._Bean property:screenwriter resource:Paul_Weiland . resource:Mr._Bean property:screenwriter resource:Ben_Elton }
 ASK { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q484020> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P58> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q436712>. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q484020> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P58> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q3372411>. } 
ASK WHERE { wd:Q484020 wdt:P58 wd:Q436712 . wd:Q484020 wdt:P58 wd:Q3372411 }