Question: Is WALL·E or Waltz with Bashir shorter?
Choices:
Waltz with Bashir
The Rescuers
Shrek 2
Winnie the Pooh
Lilo & Stitch
Cinderella
Peter Pan
Aladdin
WALL·E
Renaissance
Program:
function: Find
inputs: WALL·E
function: Find
inputs: Waltz with Bashir
function: SelectBetween
dependencies: 0
1
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "WALL·E" .  } UNION { ?e <pred:name> "Waltz with Bashir" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Waltz with Bashir