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