Question: What is the relation between James Brown (the one that is a member of Miami Dolphins) and the New York Jets?
Choices: make-up artist
chairperson
film regional debut venue
capital of
ethnic group
organizer
diplomatic relation
place of death
member of sports team
afflicts
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "James Brown" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Miami Dolphins" . ?e_2 <pred:name> "New York Jets" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Miami Dolphins
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: James Brown
function: And
dependencies: 1
2
function: Find
inputs: New York Jets
function: QueryRelation
dependencies: 3
4
Answer: member of sports team