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