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