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