Question: Which one costs more, The Godfather Part II or King Arthur
Choices:
King Arthur
Training Day
Pleasantville
Rebecca
Curse of the Golden Flower
The Fifth Element
Talk to Her
A Prairie Home Companion
The Towering Inferno
The Hunchback of Notre Dame
Program:
function: Find
inputs: King Arthur
function: Find
inputs: The Godfather Part II
function: SelectBetween
dependencies: 0
1
inputs: cost
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "King Arthur" .  } UNION { ?e <pred:name> "The Godfather Part II" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: King Arthur