Question: Which movie is longer, Rocky (the one that was nominated for Academy Award for Best Supporting Actor) or Inglourious Basterds?
Choices:
Curse of the Golden Flower
The Hunchback of Notre Dame
A Prairie Home Companion
Inglourious Basterds
Rocky
The Towering Inferno
Talk to Her
The Fifth Element
Rebecca
Training Day
Program:
function: Find
inputs: Academy Award for Best Supporting Actor
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Rocky
function: And
dependencies: 1
2
function: Find
inputs: Inglourious Basterds
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rocky" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Supporting Actor" .   } UNION { ?e <pred:name> "Inglourious Basterds" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Inglourious Basterds