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