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