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