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