Question: Which movie is longer, Napoleon Dynamite or The Adventures of Pluto Nash?
Choices:
The Towering Inferno
The Hunchback of Notre Dame
Rebecca
Napoleon Dynamite
A Prairie Home Companion
Talk to Her
Curse of the Golden Flower
The Adventures of Pluto Nash
Pleasantville
Training Day
Program:
function: Find
inputs: Napoleon Dynamite
function: Find
inputs: The Adventures of Pluto Nash
function: SelectBetween
dependencies: 0
1
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Napoleon Dynamite" .  } UNION { ?e <pred:name> "The Adventures of Pluto Nash" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Adventures of Pluto Nash