Question: Which movie is longer, Body of Lies or Live and Let Die (the one whose release region is United States of America)?
Choices:
The Fifth Element
Pleasantville
The Hunchback of Notre Dame
The Towering Inferno
Training Day
A Prairie Home Companion
Rebecca
Live and Let Die
Body of Lies
Talk to Her
Answer: Body of Lies
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Body of Lies" .  } UNION { ?e <pred:name> "Live and Let Die" . ?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: Body of Lies
function: Find
inputs: United States of America
function: Relate
dependencies: 1
inputs: film release region
backward
function: Find
inputs: Live and Let Die
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater