Question: Which movie cost more to make, Good Night, and Good Luck. or Paddington (the one whose production company is StudioCanal)?
Choices:
Paddington
The Hunchback of Notre Dame
A Prairie Home Companion
Rebecca
Training Day
Curse of the Golden Flower
The Towering Inferno
Pleasantville
Good Night, and Good Luck.
The Fifth Element
Answer: Paddington
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Good Night, and Good Luck." .  } UNION { ?e <pred:name> "Paddington" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "StudioCanal" .   } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Good Night, and Good Luck.
function: Find
inputs: StudioCanal
function: Relate
dependencies: 1
inputs: production company
backward
function: Find
inputs: Paddington
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: cost
greater