Question: Which movie is longer, Tabu (the one that origins from United States of America) or Mission: Impossible (the one whose box office is 456494803 United States dollar)?
Choices: Curse of the Golden Flower
Mission: Impossible
Pleasantville
A Prairie Home Companion
Training Day
The Hunchback of Notre Dame
Tabu
The Fifth Element
Talk to Her
Rebecca
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tabu" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "United States of America" . } UNION { ?e <pred:name> "Mission: Impossible" . ?e <box_office> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> "456494803"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Tabu
function: And
dependencies: 1
2
function: Find
inputs: Mission: Impossible
function: FilterNum
dependencies: 4
inputs: box office
456494803 United States dollar
=
function: SelectBetween
dependencies: 3
5
inputs: duration
greater
Answer: Mission: Impossible