Question: Did Last Action Hero or John Carter, with Samantha Morton as a cast member, take in a smaller amount at the box office?
Choices:
Last Action Hero
John Carter
The Flintstones
G-Force
Old Dogs
The Muppets
Enchanted
National Treasure: Book of Secrets
Holes
The Flintstones in Viva Rock Vegas
Answer: Last Action Hero
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Last Action Hero" .  } UNION { ?e <pred:name> "John Carter" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Samantha Morton" .   } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Last Action Hero
function: Find
inputs: Samantha Morton
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: John Carter
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: box office
less