Question: Which cost more: Iron Man (with cast member Terrence Howard) or The Polar Express (produced by Warner Bros.)?
Choices: Superman
The Polar Express
Magic Knight Rayearth
Ponyo on the Cliff by the Sea
Naruto Shippuden the Movie: Bonds
Anastasia
Wonder Woman
A Christmas Carol
Code Geass
My-HiME
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Iron Man" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Terrence Howard" .   } UNION { ?e <pred:name> "The Polar Express" . ?e <production_company> ?e_2 . ?e_2 <pred:name> "Warner Bros." .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Terrence Howard
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Iron Man
function: And
dependencies: 1
2
function: Find
inputs: Warner Bros.
function: Relate
dependencies: 4
inputs: production company
backward
function: Find
inputs: The Polar Express
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: cost
greater
Answer: The Polar Express