Question: What does Brooklyn (which was nominated for an Academy Award for Best Actress) have to do with the Academy Award for Best Picture?
Choices:
official color
officially opened by
properties for this type
partially contains
candidate
author
appears in the form of
nominated for
office held by head of the organisation
located on terrain feature
Answer: nominated for
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Brooklyn" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "Academy Award for Best Actress" . ?e_2 <pred:name> "Academy Award for Best Picture" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Academy Award for Best Actress
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Brooklyn
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Picture
function: QueryRelation
dependencies: 3
4