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