Question: How many wars are caused by John Byrne (the one that is a member of Peterborough United F.C.) ?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "war" . ?e <has_cause> ?e_1 . ?e_1 <pred:name> "John Byrne" . ?e_1 <member_of_sports_team> ?e_2 . ?e_2 <pred:name> "Peterborough United F.C." .   }
Program:
function: Find
inputs: Peterborough United F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: John Byrne
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: has cause
backward
function: FilterConcept
dependencies: 4
inputs: war
function: Count
dependencies: 5