Question: Which has greater duration, Rise of the Guardians or The Transformers: The Movie?
Choices:
Beauty and the Beast
Aladdin
Rise of the Guardians
Renaissance
The Rescuers
Winnie the Pooh
The Transformers: The Movie
Peter Pan
Shrek 2
WALL·E
Program:
function: Find
inputs: Rise of the Guardians
function: Find
inputs: The Transformers: The Movie
function: SelectBetween
dependencies: 0
1
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rise of the Guardians" .  } UNION { ?e <pred:name> "The Transformers: The Movie" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Rise of the Guardians