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