Question: Which movie has a bigger box office, Hellboy II: The Golden Army or Letters from Iwo Jima?
Choices:
Rebecca
Training Day
Pleasantville
The Towering Inferno
Letters from Iwo Jima
The Fifth Element
Curse of the Golden Flower
Hellboy II: The Golden Army
The Hunchback of Notre Dame
A Prairie Home Companion
Program:
function: Find
inputs: Hellboy II: The Golden Army
function: Find
inputs: Letters from Iwo Jima
function: SelectBetween
dependencies: 0
1
inputs: box office
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hellboy II: The Golden Army" .  } UNION { ?e <pred:name> "Letters from Iwo Jima" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Hellboy II: The Golden Army