Question: Which movie cost more to make, Night at the Museum: Battle of the Smithsonian (the one that has Hank Azaria as a cast member) or Hereafter?
Choices:
Training Day
Hereafter
The Towering Inferno
Night at the Museum: Battle of the Smithsonian
Talk to Her
Pleasantville
Rebecca
Curse of the Golden Flower
The Fifth Element
The Hunchback of Notre Dame
Answer: Night at the Museum: Battle of the Smithsonian
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Night at the Museum: Battle of the Smithsonian" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Hank Azaria" .   } UNION { ?e <pred:name> "Hereafter" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Hank Azaria
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Night at the Museum: Battle of the Smithsonian
function: And
dependencies: 1
2
function: Find
inputs: Hereafter
function: SelectBetween
dependencies: 3
4
inputs: cost
greater