Question: How is Tom Johnson who was born in Saint Paul related to the Minnesota Twins?
Choices:
participant
exported to
member of sports team
place of publication
office held by head of state
doctoral student
parent astronomical body
separated from
soundtrack album
language used
Answer: member of sports team
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Tom Johnson" . ?e_1 <place_of_birth> ?e_3 . ?e_3 <pred:name> "Saint Paul" . ?e_2 <pred:name> "Minnesota Twins" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Saint Paul
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: Tom Johnson
function: And
dependencies: 1
2
function: Find
inputs: Minnesota Twins
function: QueryRelation
dependencies: 3
4