Question: Is the shorter work Live and Let Die, filmed in NYC, or The Portrait of a Lady, an Academy Award nominee for Best Supporting Actress?
Choices:
Talk to Her
Rebecca
The Fifth Element
Training Day
Pleasantville
A Prairie Home Companion
Curse of the Golden Flower
The Portrait of a Lady
The Hunchback of Notre Dame
Live and Let Die
Program:
function: Find
inputs: New York City
function: Relate
dependencies: 0
inputs: filming location
backward
function: Find
inputs: Live and Let Die
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Supporting Actress
function: Relate
dependencies: 4
inputs: nominated for
backward
function: Find
inputs: The Portrait of a Lady
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Live and Let Die" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> "New York City" .   } UNION { ?e <pred:name> "The Portrait of a Lady" . ?e <nominated_for> ?e_2 . ?e_2 <pred:name> "Academy Award for Best Supporting Actress" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Live and Let Die