Question: Which movie cost less to make, Crazy, Stupid, Love. or My Fair Lady?
Choices:
My Fair Lady
Rebecca
The Fifth Element
The Towering Inferno
Training Day
Crazy, Stupid, Love.
Curse of the Golden Flower
Pleasantville
The Hunchback of Notre Dame
A Prairie Home Companion
Program:
function: Find
inputs: Crazy, Stupid, Love.
function: Find
inputs: My Fair Lady
function: SelectBetween
dependencies: 0
1
inputs: cost
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Crazy, Stupid, Love." .  } UNION { ?e <pred:name> "My Fair Lady" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: My Fair Lady