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