Question: Which has a greater cost, Indiana Jones and the Kingdom of the Crystal Skull or The Invention of Lying?
Choices:
The Hunchback of Notre Dame
A Prairie Home Companion
Pleasantville
The Fifth Element
The Invention of Lying
Indiana Jones and the Kingdom of the Crystal Skull
Training Day
Talk to Her
Rebecca
Curse of the Golden Flower
Program:
function: Find
inputs: Indiana Jones and the Kingdom of the Crystal Skull
function: Find
inputs: The Invention of Lying
function: SelectBetween
dependencies: 0
1
inputs: cost
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Indiana Jones and the Kingdom of the Crystal Skull" .  } UNION { ?e <pred:name> "The Invention of Lying" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Indiana Jones and the Kingdom of the Crystal Skull