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