Question: Which movie is longer, Invincible (the one whose producer is Werner Herzog) or Frost/Nixon?
Choices:
Frost/Nixon
The Towering Inferno
The Fifth Element
Pleasantville
Rebecca
A Prairie Home Companion
Invincible
Curse of the Golden Flower
The Hunchback of Notre Dame
Talk to Her
Program:
function: Find
inputs: Werner Herzog
function: Relate
dependencies: 0
inputs: producer
backward
function: Find
inputs: Invincible
function: And
dependencies: 1
2
function: Find
inputs: Frost/Nixon
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Invincible" . ?e <producer> ?e_1 . ?e_1 <pred:name> "Werner Herzog" .   } UNION { ?e <pred:name> "Frost/Nixon" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Invincible