Question: What is the connection between Forrest Gump (the one that is related to sport American football) to American football?
Choices:
health specialty
designed by
editor
eye color
territory claimed by
member of political party
sport
official residence
author
place of birth
Answer: sport
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Forrest Gump" . ?e_1 <sport> ?e_3 . ?e_3 <pred:name> "American football" . ?e_2 <pred:name> "American football" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: American football
function: Relate
dependencies: 0
inputs: sport
backward
function: Find
inputs: Forrest Gump
function: And
dependencies: 1
2
function: Find
inputs: American football
function: QueryRelation
dependencies: 3
4