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