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