Question: Between Night at the Museum or Yes Man, which is the box office winner?
Choices:
The Fifth Element
The Hunchback of Notre Dame
Talk to Her
Rebecca
Curse of the Golden Flower
Pleasantville
The Towering Inferno
Yes Man
Night at the Museum
A Prairie Home Companion
Program:
function: Find
inputs: Night at the Museum
function: Find
inputs: Yes Man
function: SelectBetween
dependencies: 0
1
inputs: box office
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Night at the Museum" .  } UNION { ?e <pred:name> "Yes Man" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Night at the Museum