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