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