Question: Which movie made more at the box office, Grindhouse or Night at the Museum?
Choices:
Training Day
The Hunchback of Notre Dame
Night at the Museum
Rebecca
A Prairie Home Companion
Talk to Her
Pleasantville
The Towering Inferno
Grindhouse
The Fifth Element
Program:
function: Find
inputs: Grindhouse
function: Find
inputs: Night at the Museum
function: SelectBetween
dependencies: 0
1
inputs: box office
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Grindhouse" .  } UNION { ?e <pred:name> "Night at the Museum" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Night at the Museum