Question: Does Water for Elephants or Kundun have greater box office ?
Choices:
A Prairie Home Companion
Talk to Her
Curse of the Golden Flower
Water for Elephants
Pleasantville
Rebecca
The Fifth Element
Training Day
The Hunchback of Notre Dame
Kundun
Program:
function: Find
inputs: Water for Elephants
function: Find
inputs: Kundun
function: SelectBetween
dependencies: 0
1
inputs: box office
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Water for Elephants" .  } UNION { ?e <pred:name> "Kundun" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Water for Elephants