Question: What is the connection between John Davis (the one that is a member of Tennessee Titans) to Buffalo Bills?
Choices:
location of discovery
owner of
had as last meal
award received
famous people
member of sports team
office held by head of state
make-up artist
position played on team / speciality
contributor(s) to the creative work
Program:
function: Find
inputs: Tennessee Titans
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: John Davis
function: And
dependencies: 1
2
function: Find
inputs: Buffalo Bills
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Davis" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Tennessee Titans" . ?e_2 <pred:name> "Buffalo Bills" . ?e_1 ?p ?e_2 .  }
Answer: member of sports team