Question: Which one, Skyfall (the one whose release region is Hungary) or The Piano, has less box office?
Choices:
The Hunchback of Notre Dame
Skyfall
Curse of the Golden Flower
Training Day
The Piano
Talk to Her
The Fifth Element
Pleasantville
A Prairie Home Companion
The Towering Inferno
Program:
function: Find
inputs: Hungary
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Skyfall
function: And
dependencies: 1
2
function: Find
inputs: The Piano
function: SelectBetween
dependencies: 3
4
inputs: box office
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Skyfall" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Hungary" .   } UNION { ?e <pred:name> "The Piano" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Piano