Question: Is 21 Grams or Jack Reacher, released in Hungary, the longer of the two?
Choices:
Rebecca
The Towering Inferno
Jack Reacher
A Prairie Home Companion
21 Grams
Pleasantville
The Fifth Element
Curse of the Golden Flower
Training Day
Talk to Her
Program:
function: Find
inputs: 21 Grams
function: Find
inputs: Hungary
function: Relate
dependencies: 1
inputs: film release region
backward
function: Find
inputs: Jack Reacher
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "21 Grams" .  } UNION { ?e <pred:name> "Jack Reacher" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Hungary" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Jack Reacher