Question: How is Brooklyn, which is shot in Montreal, related to the Academy Award for Best Picture?
Choices: nominated for
political ideology
software engine
has immediate cause
owned by
film regional debut venue
award disciplines or subjects
takes place in fictional universe
member of sports team
said to be the same as
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Brooklyn" . ?e_1 <filming_location> ?e_3 . ?e_3 <pred:name> "Montreal" . ?e_2 <pred:name> "Academy Award for Best Picture" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Montreal
function: Relate
dependencies: 0
inputs: filming location
backward
function: Find
inputs: Brooklyn
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Picture
function: QueryRelation
dependencies: 3
4
Answer: nominated for