Question: What is the connection between James Stewart (the one that is a member of Detroit Lions) to Detroit Lions?
Choices:
member of sports team
basin country
continent
after a work by
newspaper format
film crew member
director
follows
subsidiary
rector
Answer: member of sports team
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "James Stewart" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Detroit Lions" . ?e_2 <pred:name> "Detroit Lions" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Detroit Lions
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: James Stewart
function: And
dependencies: 1
2
function: Find
inputs: Detroit Lions
function: QueryRelation
dependencies: 3
4