Question: Which movie is longer, Secret of the Wings or Madagascar 3: Europe's Most Wanted?
Choices:
Secret of the Wings
Aladdin
The Rescuers
Shrek 2
Renaissance
Peter Pan
Winnie the Pooh
Lilo & Stitch
WALL·E
Madagascar 3: Europe's Most Wanted
Program:
function: Find
inputs: Secret of the Wings
function: Find
inputs: Madagascar 3: Europe's Most Wanted
function: SelectBetween
dependencies: 0
1
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Secret of the Wings" .  } UNION { ?e <pred:name> "Madagascar 3: Europe's Most Wanted" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Madagascar 3: Europe's Most Wanted