Question: Is Toy Story 3 or Toy Story 2 longer than the other?
Choices:
WALL·E
Lilo & Stitch
Winnie the Pooh
Renaissance
Beauty and the Beast
Toy Story 2
Shrek 2
Toy Story 3
Peter Pan
The Rescuers
Program:
function: Find
inputs: Toy Story 3
function: Find
inputs: Toy Story 2
function: SelectBetween
dependencies: 0
1
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Toy Story 3" .  } UNION { ?e <pred:name> "Toy Story 2" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Toy Story 3