Question: Which movie cost more to make, Willy Wonka & the Chocolate Factory or Moonrise Kingdom?
Choices:
Willy Wonka & the Chocolate Factory
Training Day
Pleasantville
Curse of the Golden Flower
Moonrise Kingdom
The Hunchback of Notre Dame
The Towering Inferno
Talk to Her
Rebecca
The Fifth Element
Program:
function: Find
inputs: Willy Wonka & the Chocolate Factory
function: Find
inputs: Moonrise Kingdom
function: SelectBetween
dependencies: 0
1
inputs: cost
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Willy Wonka & the Chocolate Factory" .  } UNION { ?e <pred:name> "Moonrise Kingdom" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Moonrise Kingdom