Question: Which movie made more at the box office, The Impossible or Algiers (the one whose genre is romance film)?
Choices: Training Day
Curse of the Golden Flower
Algiers
The Towering Inferno
Rebecca
The Hunchback of Notre Dame
Talk to Her
The Impossible
Pleasantville
A Prairie Home Companion
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Impossible" .  } UNION { ?e <pred:name> "Algiers" . ?e <genre> ?e_1 . ?e_1 <pred:name> "romance film" .   } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The Impossible
function: Find
inputs: romance film
function: Relate
dependencies: 1
inputs: genre
backward
function: Find
inputs: Algiers
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: box office
greater
Answer: The Impossible