Question: What is the connection between Julia (the one whose director is Don Ameche) to Los Angeles?
Choices:
source of income
occupation
narrative location
commissioned by
product or material produced
academic degree
official color
uses
replaced by
health specialty
Answer: narrative location
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Julia" . ?e_1 <director> ?e_3 . ?e_3 <pred:name> "Don Ameche" . ?e_2 <pred:name> "Los Angeles" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Don Ameche
function: Relate
dependencies: 0
inputs: director
backward
function: Find
inputs: Julia
function: And
dependencies: 1
2
function: Find
inputs: Los Angeles
function: QueryRelation
dependencies: 3
4