Question: Which has a bigger box office, 2010: The Year We Make Contact or E.T. the Extra-Terrestrial?
Choices:
Talk to Her
2010: The Year We Make Contact
A Prairie Home Companion
E.T. the Extra-Terrestrial
Curse of the Golden Flower
Pleasantville
The Hunchback of Notre Dame
The Towering Inferno
The Fifth Element
Rebecca
Program:
function: Find
inputs: 2010: The Year We Make Contact
function: Find
inputs: E.T. the Extra-Terrestrial
function: SelectBetween
dependencies: 0
1
inputs: box office
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "2010: The Year We Make Contact" .  } UNION { ?e <pred:name> "E.T. the Extra-Terrestrial" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: E.T. the Extra-Terrestrial