Question: Which was more expensive to make: Frankenweenie, released in Finland, or Avatar, at a cost of 237000000 USD?
Choices:
Night at the Museum: Battle of the Smithsonian
James Stewart
Piranha 3D
ParaNorman
Diane Kruger
The Smurfs
Avatar
Herbie Hancock
Frankenweenie
The Office
Program:
function: Find
inputs: Finland
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Frankenweenie
function: And
dependencies: 1
2
function: Find
inputs: Avatar
function: FilterNum
dependencies: 4
inputs: cost
237000000 United States dollar
=
function: SelectBetween
dependencies: 3
5
inputs: cost
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Frankenweenie" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Finland" . } UNION { ?e <pred:name> "Avatar" . ?e <cost> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> "237000000"^^xsd:double . } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Avatar