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