Did {Uttar_Pradesh} {contains administrative territorial entity} {Bareilly division} and {Moradabad division} ?
Is it true that Uttar Pradesh contains the administrative territorial entities of Bareilly division and Moradabad division?
Does Uttar Pradesh contain the administrative territorial entities of Bareilly division and Moradabad division?
ASK WHERE { resource:Uttar_Pradesh property:contains_administrative_territorial_entity resource:Bareilly_division . resource:Uttar_Pradesh property:contains_administrative_territorial_entity resource:Moradabad_division }
 ASK { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1498> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P150> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q41275>. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1498> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P150> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q2566555>. } 
ASK WHERE { wd:Q1498 wdt:P150 wd:Q41275 . wd:Q1498 wdt:P150 wd:Q2566555 }