Question: Which movie is longer, Limitless (the one whose release region is Croatia) or Jarhead?
Choices:
Pleasantville
The Towering Inferno
The Hunchback of Notre Dame
Curse of the Golden Flower
The Fifth Element
Training Day
Talk to Her
Limitless
Rebecca
Jarhead
Program:
function: Find
inputs: Croatia
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Limitless
function: And
dependencies: 1
2
function: Find
inputs: Jarhead
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Limitless" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Croatia" .   } UNION { ?e <pred:name> "Jarhead" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Jarhead