Question: Which is longer: Sunset Boulevard, an Academy Award nominee for Best Supporting Actor, or Stand by Me, originally in English?
Choices:
Curse of the Golden Flower
The Hunchback of Notre Dame
Talk to Her
Stand by Me
A Prairie Home Companion
The Towering Inferno
Sunset Boulevard
Rebecca
The Fifth Element
Training Day
Program:
function: Find
inputs: Academy Award for Best Supporting Actor
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Sunset Boulevard
function: And
dependencies: 1
2
function: Find
inputs: English
function: Relate
dependencies: 4
inputs: original language of film or TV show
backward
function: Find
inputs: Stand by Me
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sunset Boulevard" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Supporting Actor" .   } UNION { ?e <pred:name> "Stand by Me" . ?e <original_language_of_film_or_TV_show> ?e_2 . ?e_2 <pred:name> "English" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Sunset Boulevard