Question: Which is longer, Rambo: First Blood Part II or The Mummy: Tomb of the Dragon Emperor which cost is $145,000,000 United States dollars?
Choices:
A Prairie Home Companion
The Mummy: Tomb of the Dragon Emperor
Pleasantville
Rebecca
Talk to Her
The Hunchback of Notre Dame
The Fifth Element
Training Day
Rambo: First Blood Part II
The Towering Inferno
Program:
function: Find
inputs: Rambo: First Blood Part II
function: Find
inputs: The Mummy: Tomb of the Dragon Emperor
function: FilterNum
dependencies: 1
inputs: cost
145000000 United States dollar
=
function: SelectBetween
dependencies: 0
2
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rambo: First Blood Part II" . } UNION { ?e <pred:name> "The Mummy: Tomb of the Dragon Emperor" . ?e <cost> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> "145000000"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Mummy: Tomb of the Dragon Emperor