Question: Ali, set in the Miami metro area, has what connection to Jamie Foxx?
Choices:
copyright representative
member of
cast member
diplomatic relation
terminus
nutrient
enclave within
start point
relative
famous people
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Ali" . ?e_1 <narrative_location> ?e_3 . ?e_3 <pred:name> "Miami metropolitan area" . ?e_2 <pred:name> "Jamie Foxx" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Miami metropolitan area
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: Ali
function: And
dependencies: 1
2
function: Find
inputs: Jamie Foxx
function: QueryRelation
dependencies: 3
4