Question: Tell me the one with the bigger box office, Heaven's Gate or Black Hawk Down.
Choices:
Training Day
The Towering Inferno
Pleasantville
Heaven's Gate
Curse of the Golden Flower
A Prairie Home Companion
The Fifth Element
Rebecca
Talk to Her
Black Hawk Down
Program:
function: Find
inputs: Black Hawk Down
function: Find
inputs: Heaven's Gate
function: SelectBetween
dependencies: 0
1
inputs: box office
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Black Hawk Down" .  } UNION { ?e <pred:name> "Heaven's Gate" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Black Hawk Down