Question: Does Dances with Wolves or Green Lantern have the higher cost?
Choices:
The Fifth Element
Pleasantville
Rebecca
Talk to Her
Green Lantern
Training Day
The Hunchback of Notre Dame
Dances with Wolves
The Towering Inferno
Curse of the Golden Flower
Program:
function: Find
inputs: Dances with Wolves
function: Find
inputs: Green Lantern
function: SelectBetween
dependencies: 0
1
inputs: cost
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dances with Wolves" .  } UNION { ?e <pred:name> "Green Lantern" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Green Lantern