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