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