Question: How many states participated in the war that was a representative of Nikon, that died of natural causes?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state" . ?e <participant_of> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "war" . ?e_2 <conflict> ?e_1 . ?e_2 <pred:name> "Nikon" . ?e_2 <manner_of_death> ?e_3 . ?e_3 <pred:name> "natural causes" .   }
Program:
function: Find
inputs: natural causes
function: Relate
dependencies: 0
inputs: manner of death
backward
function: Find
inputs: Nikon
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: conflict
forward
function: FilterConcept
dependencies: 4
inputs: war
function: Relate
dependencies: 5
inputs: participant of
backward
function: FilterConcept
dependencies: 6
inputs: state
function: Count
dependencies: 7