Question: How many wars involving Australia (the one that has a diplomatic relation with Norway) were also the part of Cold War, which is known by Vietnam War as one of its significant events?
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> "war" . ?e <participant> ?e_1 . ?e_1 <pred:name> "Australia" . ?e_1 <diplomatic_relation> ?e_2 . ?e_2 <pred:name> "Norway" .  ?e <part_of> ?e_3 . ?e_3 <pred:name> "Cold War" . ?e_3 <significant_event> ?e_4 . ?e_4 <pred:name> "Vietnam War" .  }
Program:
function: Find
inputs: Norway
function: Relate
dependencies: 0
inputs: diplomatic relation
backward
function: Find
inputs: Australia
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: participant
backward
function: FilterConcept
dependencies: 4
inputs: war
function: Find
inputs: Vietnam War
function: Relate
dependencies: 6
inputs: significant event
backward
function: Find
inputs: Cold War
function: And
dependencies: 7
8
function: Relate
dependencies: 9
inputs: part of
backward
function: FilterConcept
dependencies: 10
inputs: war
function: And
dependencies: 5
11
function: Count
dependencies: 12