Question: How is USA for Africa related to Paul Simon who was born in Newark?
Choices:
quotes work
board member
operator
shares border with
notable work
sponsor
has part
different from
occupant
military branch
Answer: has part
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "USA for Africa" . ?e_2 <pred:name> "Paul Simon" . ?e_2 <place_of_birth> ?e_3 . ?e_3 <pred:name> "Newark" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: USA for Africa
function: Find
inputs: Newark
function: Relate
dependencies: 1
inputs: place of birth
backward
function: Find
inputs: Paul Simon
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4