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