Question: Which movie cost more to make, The Mask of Zorro or Bolt (the one whose release region is Hungary)?
Choices:
Magic Knight Rayearth
Ponyo on the Cliff by the Sea
My-HiME
A Christmas Carol
Bolt
The Mask of Zorro
Wonder Woman
Code Geass
Superman
The Polar Express
Program:
function: Find
inputs: The Mask of Zorro
function: Find
inputs: Hungary
function: Relate
dependencies: 1
inputs: film release region
backward
function: Find
inputs: Bolt
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: cost
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Mask of Zorro" .  } UNION { ?e <pred:name> "Bolt" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Hungary" .   } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Bolt