Question: Which movie made less at the box office, American Beauty (the one that has Kevin Spacey as a cast member) or Scary Movie 4?
Choices: Scary Movie 4
Training Day
The Fifth Element
The Towering Inferno
Rebecca
American Beauty
A Prairie Home Companion
Pleasantville
The Hunchback of Notre Dame
Curse of the Golden Flower
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "American Beauty" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Kevin Spacey" .   } UNION { ?e <pred:name> "Scary Movie 4" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Kevin Spacey
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: American Beauty
function: And
dependencies: 1
2
function: Find
inputs: Scary Movie 4
function: SelectBetween
dependencies: 3
4
inputs: box office
less
Answer: Scary Movie 4