Question: What is the position in American football that matches the position of Dave Thomas (a person related to American football) and and also the position of William James (Buffalo Bills member) ?
Choices:
fullback
lineman
tight end
wide receiver
kickoff returner
halfback
long snapper
placekicker
safety
cornerback
Program:
function: Find
inputs: American football
function: Relate
dependencies: 0
inputs: sport
backward
function: Find
inputs: Dave Thomas
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: position played on team / speciality
forward
function: FilterConcept
dependencies: 4
inputs: American football position
function: Find
inputs: Buffalo Bills
function: Relate
dependencies: 6
inputs: member of sports team
backward
function: Find
inputs: William James
function: And
dependencies: 7
8
function: Relate
dependencies: 9
inputs: position played on team / speciality
forward
function: FilterConcept
dependencies: 10
inputs: American football position
function: And
dependencies: 5
11
function: What
dependencies: 12
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "American football position" . ?e_1 <position_played_on_team_/_speciality> ?e . ?e_1 <pred:name> "Dave Thomas" . ?e_1 <sport> ?e_2 . ?e_2 <pred:name> "American football" .  ?e_3 <position_played_on_team_/_speciality> ?e . ?e_3 <pred:name> "William James" . ?e_3 <member_of_sports_team> ?e_4 . ?e_4 <pred:name> "Buffalo Bills" .  }
Answer: cornerback