Question: What is the relationship between Andy Williams, a member of the New England Revolution, and the New York Red Bulls?
Choices: military rank
highest judicial authority
relative
member of sports team
fabrication method
tributary
interested in
participant of
legislative body
parent club
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Andy Williams" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "New England Revolution" . ?e_2 <pred:name> "New York Red Bulls" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: New England Revolution
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Andy Williams
function: And
dependencies: 1
2
function: Find
inputs: New York Red Bulls
function: QueryRelation
dependencies: 3
4
Answer: member of sports team