Question: Tell me the one which is longer, Larry Crowne or Barney's Version
Choices:
The Towering Inferno
Pleasantville
Talk to Her
Larry Crowne
A Prairie Home Companion
The Fifth Element
Rebecca
Barney's Version
The Hunchback of Notre Dame
Curse of the Golden Flower
Program:
function: Find
inputs: Barney's Version
function: Find
inputs: Larry Crowne
function: SelectBetween
dependencies: 0
1
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Barney's Version" .  } UNION { ?e <pred:name> "Larry Crowne" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Barney's Version