Question: Which movie cost more, Goodfellas or Monster's Ball?
Choices:
The Hunchback of Notre Dame
Pleasantville
Curse of the Golden Flower
A Prairie Home Companion
Training Day
The Fifth Element
Goodfellas
Talk to Her
The Towering Inferno
Rebecca
Program:
function: Find
inputs: Goodfellas
function: Find
inputs: Monster's Ball
function: SelectBetween
dependencies: 0
1
inputs: cost
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Goodfellas" .  } UNION { ?e <pred:name> "Monster's Ball" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Goodfellas