Question: Regarding two movies—Meet Joe Black and Skyfall (released in the region of Qatar)—which of them made a smaller amount of money at the box office?
Choices:
Meet Joe Black
The Fifth Element
Rebecca
Training Day
The Hunchback of Notre Dame
Pleasantville
Talk to Her
A Prairie Home Companion
Skyfall
Curse of the Golden Flower
Program:
function: Find
inputs: Qatar
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Skyfall
function: And
dependencies: 1
2
function: Find
inputs: Meet Joe Black
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> "Qatar" .   } UNION { ?e <pred:name> "Meet Joe Black" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Meet Joe Black