Question: Which movie made less at the box office, Gran Torino or Night at the Museum: Battle of the Smithsonian (the one that has Steve Coogan as a cast member)?
Choices:
Curse of the Golden Flower
Talk to Her
The Hunchback of Notre Dame
Gran Torino
The Towering Inferno
Rebecca
Night at the Museum: Battle of the Smithsonian
Training Day
The Fifth Element
Pleasantville
Program:
function: Find
inputs: Gran Torino
function: Find
inputs: Steve Coogan
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: Night at the Museum: Battle of the Smithsonian
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: box office
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Gran Torino" .  } UNION { ?e <pred:name> "Night at the Museum: Battle of the Smithsonian" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Steve Coogan" .   } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Gran Torino