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