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