Question: How many wars did the Kingdom of Great Britain participate in and were caused by John Fiedler?
Choices: 0
1
2
3
4
5
6
7
8
9
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> "Kingdom of Great Britain" .  ?e <has_cause> ?e_2 . ?e_2 <pred:name> "John Fiedler" .  }
Program:
function: Find
inputs: Kingdom of Great Britain
function: Relate
dependencies: 0
inputs: participant
backward
function: FilterConcept
dependencies: 1
inputs: war
function: Find
inputs: John Fiedler
function: Relate
dependencies: 3
inputs: has cause
backward
function: FilterConcept
dependencies: 4
inputs: war
function: And
dependencies: 2
5
function: Count
dependencies: 6
Answer: 0