Question: Which movie cost more to make, Meet Dave or Iron Man (the one that was nominated for Saturn Award for Best Actress)?
Choices:
Meet Dave
Rebecca
The Towering Inferno
Pleasantville
Curse of the Golden Flower
A Prairie Home Companion
Iron Man
Training Day
The Hunchback of Notre Dame
The Fifth Element
Program:
function: Find
inputs: Meet Dave
function: Find
inputs: Saturn Award for Best Actress
function: Relate
dependencies: 1
inputs: nominated for
backward
function: Find
inputs: Iron Man
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: cost
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Meet Dave" .  } UNION { ?e <pred:name> "Iron Man" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Saturn Award for Best Actress" .   } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Iron Man