Question: What is the connection between Brian Wilson (the one that is a member of Torquay United F.C.) to Newcastle upon Tyne (the one that is the headquarter location of Newcastle University)?
Choices:
geographic distribution
place of birth
medical condition
derivative work
production company
cast member
kit supplier
founded by
official residence
eye color
Answer: place of birth
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Brian Wilson" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Torquay United F.C." . ?e_2 <pred:name> "Newcastle upon Tyne" . ?e_4 <headquarters_location> ?e_2 . ?e_4 <pred:name> "Newcastle University" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Torquay United F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Brian Wilson
function: And
dependencies: 1
2
function: Find
inputs: Newcastle University
function: Relate
dependencies: 4
inputs: headquarters location
forward
function: Find
inputs: Newcastle upon Tyne
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7