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