Question: Which is longer, the buddy film Paul or Judgment at Nuremberg?
Choices:
The Hunchback of Notre Dame
Paul
Training Day
A Prairie Home Companion
The Fifth Element
Rebecca
The Towering Inferno
Talk to Her
Judgment at Nuremberg
Curse of the Golden Flower
Answer: Judgment at Nuremberg
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Paul" . ?e <genre> ?e_1 . ?e_1 <pred:name> "buddy film" .   } UNION { ?e <pred:name> "Judgment at Nuremberg" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: buddy film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Paul
function: And
dependencies: 1
2
function: Find
inputs: Judgment at Nuremberg
function: SelectBetween
dependencies: 3
4
inputs: duration
greater