Question: What is the connection between Carlos Ruiz (the one that is a member of Toronto FC) to D.C. United?
Choices: official religion
field of work
employer
officeholder
home venue
narrative location
contains settlement
statistical leader
studied by
member of sports team
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Carlos Ruiz" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Toronto FC" . ?e_2 <pred:name> "D.C. United" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Toronto FC
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Carlos Ruiz
function: And
dependencies: 1
2
function: Find
inputs: D.C. United
function: QueryRelation
dependencies: 3
4
Answer: member of sports team