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