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