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