Question: Which made more money at the box office, Sin City or The Untouchables (the one whose production company is Paramount Pictures)?
Choices:
The Fifth Element
The Hunchback of Notre Dame
Sin City
The Towering Inferno
A Prairie Home Companion
Pleasantville
Rebecca
The Untouchables
Training Day
Talk to Her
Program:
function: Find
inputs: Sin City
function: Find
inputs: Paramount Pictures
function: Relate
dependencies: 1
inputs: production company
backward
function: Find
inputs: The Untouchables
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: box office
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sin City" .  } UNION { ?e <pred:name> "The Untouchables" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "Paramount Pictures" .   } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Sin City