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