Question: Tell me the one that has the longest duration, Shame (that was released in Argentina) or Rushmore.
Choices:
Rebecca
Talk to Her
The Fifth Element
Training Day
Curse of the Golden Flower
Pleasantville
The Hunchback of Notre Dame
Shame
The Towering Inferno
Rushmore
Program:
function: Find
inputs: Argentina
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Shame
function: And
dependencies: 1
2
function: Find
inputs: Rushmore
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Shame" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Argentina" .   } UNION { ?e <pred:name> "Rushmore" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Shame