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