Question: What costed more A Very Long Engagement or Jack and Jill?
Choices:
Jack and Jill
Training Day
Rebecca
Curse of the Golden Flower
A Very Long Engagement
A Prairie Home Companion
Pleasantville
Talk to Her
The Towering Inferno
The Hunchback of Notre Dame
Program:
function: Find
inputs: A Very Long Engagement
function: Find
inputs: Jack and Jill
function: SelectBetween
dependencies: 0
1
inputs: cost
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "A Very Long Engagement" .  } UNION { ?e <pred:name> "Jack and Jill" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Jack and Jill