Question: How many wars are part of the War on Terror (including France)?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: France
function: Relate
dependencies: 0
inputs: participant
backward
function: Find
inputs: War on Terror
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: part of
backward
function: FilterConcept
dependencies: 4
inputs: war
function: Count
dependencies: 5
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "war" . ?e <part_of> ?e_1 . ?e_1 <pred:name> "War on Terror" . ?e_1 <participant> ?e_2 . ?e_2 <pred:name> "France" .   }
Answer: 2