Question: How many national association football teams are related to the type of sport that has a teammate named Peter Jackson (who is a member of Huddersfield Town A.F.C)?
Choices: 107
108
109
110
111
112
113
114
115
116
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "national association football team" . ?e <sport> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "type of sport" . ?e_2 <sport> ?e_1 . ?e_2 <pred:name> "Peter Jackson" . ?e_2 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Huddersfield Town A.F.C." .   }
Program:
function: Find
inputs: Huddersfield Town A.F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Peter Jackson
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: sport
forward
function: FilterConcept
dependencies: 4
inputs: type of sport
function: Relate
dependencies: 5
inputs: sport
backward
function: FilterConcept
dependencies: 6
inputs: national association football team
function: Count
dependencies: 7
Answer: 107