Question: How many public offices equal an occupation of James Garner (the one that is educated at Adelphi University) and are held by Chris Wood, Boston United F.C. member?
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> "public office" . ?e_1 <occupation> ?e . ?e_1 <pred:name> "James Garner" . ?e_1 <educated_at> ?e_2 . ?e_2 <pred:name> "Adelphi University" .  ?e <officeholder> ?e_3 . ?e_3 <pred:name> "Chris Wood" . ?e_3 <member_of_sports_team> ?e_4 . ?e_4 <pred:name> "Boston United F.C." .  }
Program:
function: Find
inputs: Adelphi University
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: James Garner
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: occupation
forward
function: FilterConcept
dependencies: 4
inputs: public office
function: Find
inputs: Boston United F.C.
function: Relate
dependencies: 6
inputs: member of sports team
backward
function: Find
inputs: Chris Wood
function: And
dependencies: 7
8
function: Relate
dependencies: 9
inputs: officeholder
backward
function: FilterConcept
dependencies: 10
inputs: public office
function: And
dependencies: 5
11
function: Count
dependencies: 12
Answer: 0