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