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