Question: what is the number of wars that is representative of Royal Air Force or that is followed by Crimean War
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Royal Air Force
function: Relate
dependencies: 0
inputs: conflict
forward
function: FilterConcept
dependencies: 1
inputs: war
function: Find
inputs: Crimean War
function: Relate
dependencies: 3
inputs: followed by
backward
function: FilterConcept
dependencies: 4
inputs: war
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "war" .  { ?e_1 <conflict> ?e . ?e_1 <pred:name> "Royal Air Force" .  } UNION { ?e <followed_by> ?e_1 . ?e_1 <pred:name> "Crimean War" .  } }
Answer: 3