Question: Which movie is longer, From Here to Eternity (the one that received Academy Award for Best Supporting Actor) or Everyone Says I Love You?
Choices:
Rebecca
The Hunchback of Notre Dame
The Towering Inferno
Talk to Her
From Here to Eternity
Everyone Says I Love You
A Prairie Home Companion
Curse of the Golden Flower
The Fifth Element
Pleasantville
Answer: From Here to Eternity
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "From Here to Eternity" . ?e <award_received> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Supporting Actor" .   } UNION { ?e <pred:name> "Everyone Says I Love You" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Academy Award for Best Supporting Actor
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: From Here to Eternity
function: And
dependencies: 1
2
function: Find
inputs: Everyone Says I Love You
function: SelectBetween
dependencies: 3
4
inputs: duration
greater