Question: Which has less box office, The Lord of the Rings: The Return of the King produced by New Line Cinema or Slumdog Millionaire?
Choices: The Lord of the Rings: The Return of the King
The Hunchback of Notre Dame
Rebecca
A Prairie Home Companion
Curse of the Golden Flower
The Towering Inferno
Slumdog Millionaire
The Fifth Element
Talk to Her
Pleasantville
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Lord of the Rings: The Return of the King" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "New Line Cinema" .   } UNION { ?e <pred:name> "Slumdog Millionaire" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: New Line Cinema
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: The Lord of the Rings: The Return of the King
function: And
dependencies: 1
2
function: Find
inputs: Slumdog Millionaire
function: SelectBetween
dependencies: 3
4
inputs: box office
less
Answer: Slumdog Millionaire