Question: How many American football positions are related to the sport of American football and related to the position of Richard Rodgers (the one whose position is tight end)?
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> "American football position" . ?e <sport> ?e_1 . ?e_1 <pred:name> "American football" .  ?e_2 <position_played_on_team_/_speciality> ?e . ?e_2 <pred:name> "Richard Rodgers" . ?e_2 <position_played_on_team_/_speciality> ?e_3 . ?e_3 <pred:name> "tight end" .  }
Program:
function: Find
inputs: American football
function: Relate
dependencies: 0
inputs: sport
backward
function: FilterConcept
dependencies: 1
inputs: American football position
function: Find
inputs: tight end
function: Relate
dependencies: 3
inputs: position played on team / speciality
backward
function: Find
inputs: Richard Rodgers
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: position played on team / speciality
forward
function: FilterConcept
dependencies: 7
inputs: American football position
function: And
dependencies: 2
8
function: Count
dependencies: 9
Answer: 1