Question: Which one, Hereafter or Ocean's Twelve, has greater cost?
Choices:
Training Day
Rebecca
A Prairie Home Companion
Pleasantville
Talk to Her
Hereafter
The Towering Inferno
The Fifth Element
Ocean's Twelve
The Hunchback of Notre Dame
Program:
function: Find
inputs: Hereafter
function: Find
inputs: Ocean's Twelve
function: SelectBetween
dependencies: 0
1
inputs: cost
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hereafter" .  } UNION { ?e <pred:name> "Ocean's Twelve" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Ocean's Twelve