Question: What is the association of John Abraham (whose position is defensive end) with American football?
Choices:
sport
drafted by
creator
signatory
art director
published in
source of income
stated in
color
director/manager
Program:
function: Find
inputs: defensive end
function: Relate
dependencies: 0
inputs: position played on team / speciality
backward
function: Find
inputs: John Abraham
function: And
dependencies: 1
2
function: Find
inputs: American football
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Abraham" . ?e_1 <position_played_on_team_/_speciality> ?e_3 . ?e_3 <pred:name> "defensive end" . ?e_2 <pred:name> "American football" . ?e_1 ?p ?e_2 .  }
Answer: sport