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