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