Question: How is Jon Stewart of Portsmouth F.C. related to Burnley F.C.?
Choices:
next lower rank
vehicle normally used
model item
material used
film release region
parent astronomical body
influenced by
stated in
member of sports team
lyrics by
Answer: member of sports team
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Jon Stewart" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Portsmouth F.C." . ?e_2 <pred:name> "Burnley F.C." . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Portsmouth F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Jon Stewart
function: And
dependencies: 1
2
function: Find
inputs: Burnley F.C.
function: QueryRelation
dependencies: 3
4