Question: How many empires participated in the Iraq War and have Sunni Islam as the official religion?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "empire" . ?e <participant_of> ?e_1 . ?e_1 <pred:name> "Iraq War" .  ?e <official_religion> ?e_2 . ?e_2 <pred:name> "Sunni Islam" .  }
Program:
function: Find
inputs: Iraq War
function: Relate
dependencies: 0
inputs: participant of
backward
function: FilterConcept
dependencies: 1
inputs: empire
function: Find
inputs: Sunni Islam
function: Relate
dependencies: 3
inputs: official religion
backward
function: FilterConcept
dependencies: 4
inputs: empire
function: And
dependencies: 2
5
function: Count
dependencies: 6