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