Question: Was the box office greater for War Horse or Psycho (the one whose distributor is Paramount Pictures)?
Choices: A Prairie Home Companion
Pleasantville
Rebecca
Training Day
The Fifth Element
War Horse
Psycho
Talk to Her
Curse of the Golden Flower
The Hunchback of Notre Dame
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "War Horse" .  } UNION { ?e <pred:name> "Psycho" . ?e <distributor> ?e_1 . ?e_1 <pred:name> "Paramount Pictures" .   } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: War Horse
function: Find
inputs: Paramount Pictures
function: Relate
dependencies: 1
inputs: distributor
backward
function: Find
inputs: Psycho
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: box office
greater
Answer: War Horse