Question: Which one is cheaper, Kingdom of Heaven or The Exorcist
Choices:
The Fifth Element
The Towering Inferno
Kingdom of Heaven
The Exorcist
Training Day
Rebecca
The Hunchback of Notre Dame
A Prairie Home Companion
Talk to Her
Pleasantville
Program:
function: Find
inputs: Kingdom of Heaven
function: Find
inputs: The Exorcist
function: SelectBetween
dependencies: 0
1
inputs: cost
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kingdom of Heaven" .  } UNION { ?e <pred:name> "The Exorcist" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Exorcist