Question: Which movie is shorter, The Hangover (the one whose release region is Peru) or The Avengers (the one whose box office is 1518812988 United States dollar)?
Choices:
Rebecca
Talk to Her
The Fifth Element
The Towering Inferno
Pleasantville
Training Day
The Hangover
The Hunchback of Notre Dame
Curse of the Golden Flower
The Avengers
Program:
function: Find
inputs: Peru
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: The Hangover
function: And
dependencies: 1
2
function: Find
inputs: The Avengers
function: FilterNum
dependencies: 4
inputs: box office
1518812988 United States dollar
=
function: SelectBetween
dependencies: 3
5
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Hangover" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Peru" . } UNION { ?e <pred:name> "The Avengers" . ?e <box_office> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> "1518812988"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Hangover