Question: Which movie made less at the box office, Battleship (the one whose original language is English) or The Green Mile (the one that has Sam Rockwell as a cast member)?
Choices:
The Hunchback of Notre Dame
The Towering Inferno
Rebecca
A Prairie Home Companion
The Green Mile
Curse of the Golden Flower
Pleasantville
Battleship
Talk to Her
Training Day
Answer: The Green Mile
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Battleship" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> "English" .   } UNION { ?e <pred:name> "The Green Mile" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Sam Rockwell" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: original language of film or TV show
backward
function: Find
inputs: Battleship
function: And
dependencies: 1
2
function: Find
inputs: Sam Rockwell
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: The Green Mile
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: box office
less