Question: Which movie had a bigger box office, New York, I Love You or The Nightmare Before Christmas?
Choices:
The Nightmare Before Christmas
The Polar Express
My-HiME
Magic Knight Rayearth
A Christmas Carol
Anastasia
New York, I Love You
Code Geass
Ponyo on the Cliff by the Sea
Superman
Program:
function: Find
inputs: New York, I Love You
function: Find
inputs: The Nightmare Before Christmas
function: SelectBetween
dependencies: 0
1
inputs: box office
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "New York, I Love You" .  } UNION { ?e <pred:name> "The Nightmare Before Christmas" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Nightmare Before Christmas