Question: Does A Very Long Engagement or Hereafter have the lower cost?
Choices:
Hereafter
Pleasantville
The Hunchback of Notre Dame
A Prairie Home Companion
Training Day
Curse of the Golden Flower
A Very Long Engagement
The Towering Inferno
Talk to Her
The Fifth Element
Program:
function: Find
inputs: A Very Long Engagement
function: Find
inputs: Hereafter
function: SelectBetween
dependencies: 0
1
inputs: cost
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "A Very Long Engagement" .  } UNION { ?e <pred:name> "Hereafter" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Hereafter