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