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