Question: What is the connection between Forrest Gump (the one that has Tom Hanks as a performer) to American football?
Choices:
killed by
designed to carry
office held by head of state
sport
capital
copyright holder
candidacy in election
different from
place of publication
vehicle normally used
Program:
function: Find
inputs: Tom Hanks
function: Relate
dependencies: 0
inputs: performer
backward
function: Find
inputs: Forrest Gump
function: And
dependencies: 1
2
function: Find
inputs: American football
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Forrest Gump" . ?e_1 <performer> ?e_3 . ?e_3 <pred:name> "Tom Hanks" . ?e_2 <pred:name> "American football" . ?e_1 ?p ?e_2 .  }
Answer: sport