Question: Which movie made more at the box office, 2010: The Year We Make Contact or The Lovely Bones?
Choices:
Training Day
Talk to Her
Rebecca
Pleasantville
The Lovely Bones
Curse of the Golden Flower
The Towering Inferno
The Hunchback of Notre Dame
2010: The Year We Make Contact
The Fifth Element
Program:
function: Find
inputs: 2010: The Year We Make Contact
function: Find
inputs: The Lovely Bones
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> "The Lovely Bones" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Lovely Bones