Question: Between The Red Violin or I Love You Phillip Morris, which is shorter?
Choices:
A Prairie Home Companion
The Towering Inferno
The Fifth Element
The Hunchback of Notre Dame
Curse of the Golden Flower
I Love You Phillip Morris
Pleasantville
Rebecca
Training Day
The Red Violin
Program:
function: Find
inputs: The Red Violin
function: Find
inputs: I Love You Phillip Morris
function: SelectBetween
dependencies: 0
1
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Red Violin" .  } UNION { ?e <pred:name> "I Love You Phillip Morris" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: I Love You Phillip Morris