Question: Which movie is longer, Ferris Bueller's Day Off or An Ideal Husband?
Choices:
A Prairie Home Companion
An Ideal Husband
Training Day
Pleasantville
Curse of the Golden Flower
Ferris Bueller's Day Off
The Towering Inferno
The Fifth Element
Rebecca
The Hunchback of Notre Dame
Program:
function: Find
inputs: Ferris Bueller's Day Off
function: Find
inputs: An Ideal Husband
function: SelectBetween
dependencies: 0
1
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ferris Bueller's Day Off" .  } UNION { ?e <pred:name> "An Ideal Husband" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Ferris Bueller's Day Off