Question: Which New York City resident was an Academy Award nominee for Best Original Song?
Choices:
Buddy DeSylva
Bryan Adams
John Leguizamo
Chris Messina
Irving Berlin
John Mayer
Dolly Parton
Julie Delpy
Neil Young
Glen Campbell
Answer: Buddy DeSylva
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <residence> ?e_1 . ?e_1 <pred:name> "New York City" .  ?e <nominated_for> ?e_2 . ?e_2 <pred:name> "Academy Award for Best Original Song" .  }
Program:
function: Find
inputs: New York City
function: Relate
dependencies: 0
inputs: residence
backward
function: FilterConcept
dependencies: 1
inputs: human
function: Find
inputs: Academy Award for Best Original Song
function: Relate
dependencies: 3
inputs: nominated for
backward
function: FilterConcept
dependencies: 4
inputs: human
function: And
dependencies: 2
5
function: What
dependencies: 6