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