Question: What is the connection between Peter Jacobson to Chicago (the one that is the narrative location of North by Northwest)?
Choices:
parent astronomical body
sibling
presenter
health specialty
capital
place of birth
parent club
officeholder
theme music
military casualty classification
Program:
function: Find
inputs: Peter Jacobson
function: Find
inputs: North by Northwest
function: Relate
dependencies: 1
inputs: narrative location
forward
function: Find
inputs: Chicago
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Peter Jacobson" . ?e_2 <pred:name> "Chicago" . ?e_3 <narrative_location> ?e_2 . ?e_3 <pred:name> "North by Northwest" . ?e_1 ?p ?e_2 .  }
Answer: place of birth