Question: Which movie made less at the box office, Cleopatra (the one whose director is Darryl F. Zanuck) or The Last Samurai?
Choices:
The Hunchback of Notre Dame
Rebecca
Curse of the Golden Flower
The Towering Inferno
Cleopatra
Pleasantville
A Prairie Home Companion
Training Day
Talk to Her
The Last Samurai
Program:
function: Find
inputs: Darryl F. Zanuck
function: Relate
dependencies: 0
inputs: director
backward
function: Find
inputs: Cleopatra
function: And
dependencies: 1
2
function: Find
inputs: The Last Samurai
function: SelectBetween
dependencies: 3
4
inputs: box office
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cleopatra" . ?e <director> ?e_1 . ?e_1 <pred:name> "Darryl F. Zanuck" .   } UNION { ?e <pred:name> "The Last Samurai" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Cleopatra