Question: Which movie is longer, Up in the Air or Dead Poets Society?
Choices:
Talk to Her
The Fifth Element
Curse of the Golden Flower
The Towering Inferno
Training Day
Dead Poets Society
Up in the Air
Rebecca
Pleasantville
A Prairie Home Companion
Program:
function: Find
inputs: Up in the Air
function: Find
inputs: Dead Poets Society
function: SelectBetween
dependencies: 0
1
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Up in the Air" .  } UNION { ?e <pred:name> "Dead Poets Society" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Dead Poets Society