Question: How is the film producer John Hughes related to Lake Forest?
Choices:
residence
contains settlement
sidekick of
official symbol
has dialect (DEPRECATED)
religion
film release region
licensed to broadcast to
official residence
board member
Answer: residence
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Hughes" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "film producer" . ?e_2 <pred:name> "Lake Forest" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: film producer
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: John Hughes
function: And
dependencies: 1
2
function: Find
inputs: Lake Forest
function: QueryRelation
dependencies: 3
4