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