Question: Which one is expensive, Awakenings or Bolt released in Belgium?
Choices:
Bolt
A Christmas Carol
Code Geass
Awakenings
Ponyo on the Cliff by the Sea
The Polar Express
Magic Knight Rayearth
Wonder Woman
My-HiME
Superman
Program:
function: Find
inputs: Awakenings
function: Find
inputs: Belgium
function: Relate
dependencies: 1
inputs: film release region
backward
function: Find
inputs: Bolt
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: cost
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Awakenings" .  } UNION { ?e <pred:name> "Bolt" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Belgium" .   } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Bolt