Question: What is the connection between Lima (the one that is a member of S.C. Braga) to Santos F.C.?
Choices:
member of sports team
found
office held by head of state
lowest point
capital of
eye color
start point
basin country
copyright representative
kit supplier
Answer: member of sports team
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Lima" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "S.C. Braga" . ?e_2 <pred:name> "Santos F.C." . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: S.C. Braga
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Lima
function: And
dependencies: 1
2
function: Find
inputs: Santos F.C.
function: QueryRelation
dependencies: 3
4