Question: Which movie is longer, Apocalypse Now or Scary Movie 4?
Choices:
Training Day
Pleasantville
The Hunchback of Notre Dame
Rebecca
Scary Movie 4
Curse of the Golden Flower
Apocalypse Now
The Fifth Element
Talk to Her
The Towering Inferno
Program:
function: Find
inputs: Apocalypse Now
function: Find
inputs: Scary Movie 4
function: SelectBetween
dependencies: 0
1
inputs: box office
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Apocalypse Now" .  } UNION { ?e <pred:name> "Scary Movie 4" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Scary Movie 4