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