Question: Which movie is shorter, The Transformers: The Movie or The Princess and the Frog?
Choices:
WALL·E
Aladdin
Beauty and the Beast
The Transformers: The Movie
Winnie the Pooh
The Princess and the Frog
Peter Pan
The Rescuers
Renaissance
Shrek 2
Program:
function: Find
inputs: The Transformers: The Movie
function: Find
inputs: The Princess and the Frog
function: SelectBetween
dependencies: 0
1
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Transformers: The Movie" .  } UNION { ?e <pred:name> "The Princess and the Frog" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Transformers: The Movie