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