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