Question: Which one is more expensive, Ghost or E.T. the Extra-Terrestrial ?
Choices:
E.T. the Extra-Terrestrial
Curse of the Golden Flower
The Towering Inferno
Talk to Her
The Fifth Element
Training Day
Pleasantville
Ghost
A Prairie Home Companion
Rebecca
Program:
function: Find
inputs: Ghost
function: Find
inputs: E.T. the Extra-Terrestrial
function: SelectBetween
dependencies: 0
1
inputs: cost
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ghost" .  } UNION { ?e <pred:name> "E.T. the Extra-Terrestrial" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Ghost