Question: Which movie cost more to make, Iron Man (the one whose release region is Switzerland) or Power Rangers (the one whose cost is 100000000 United States dollar)?
Choices:
Curse of the Golden Flower
The Towering Inferno
Iron Man
Pleasantville
Power Rangers
The Fifth Element
Training Day
Rebecca
A Prairie Home Companion
Talk to Her
Program:
function: Find
inputs: Switzerland
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Iron Man
function: And
dependencies: 1
2
function: Find
inputs: Power Rangers
function: FilterNum
dependencies: 4
inputs: cost
100000000 United States dollar
=
function: SelectBetween
dependencies: 3
5
inputs: cost
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Iron Man" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Switzerland" . } UNION { ?e <pred:name> "Power Rangers" . ?e <cost> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> "100000000"^^xsd:double . } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Iron Man