Question: Which movie is longer, Sayonara or Kuch Kuch Hota Hai?
Choices:
Sayonara
Curse of the Golden Flower
The Towering Inferno
Kuch Kuch Hota Hai
Rebecca
Talk to Her
The Hunchback of Notre Dame
Training Day
Pleasantville
The Fifth Element
Program:
function: Find
inputs: Sayonara
function: Find
inputs: Kuch Kuch Hota Hai
function: SelectBetween
dependencies: 0
1
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sayonara" .  } 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