Question: What number of historical nations are Gulf War participants or have English as an official language?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "historical country" .  { ?e <official_language> ?e_1 . ?e_1 <pred:name> "English" .  } UNION { ?e <participant_of> ?e_1 . ?e_1 <pred:name> "Gulf War" .  } }
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: official language
backward
function: FilterConcept
dependencies: 1
inputs: historical country
function: Find
inputs: Gulf War
function: Relate
dependencies: 3
inputs: participant of
backward
function: FilterConcept
dependencies: 4
inputs: historical country
function: Or
dependencies: 2
5
function: Count
dependencies: 6