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