Question: Which movie is longer, Hercules (the one that has Amanda Plummer as a voice actor) or Madagascar 3: Europe's Most Wanted?
Choices:
Hercules
WALL·E
The Rescuers
Renaissance
Peter Pan
Beauty and the Beast
Winnie the Pooh
Madagascar 3: Europe's Most Wanted
Aladdin
Lilo & Stitch
Answer: Madagascar 3: Europe's Most Wanted
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hercules" . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> "Amanda Plummer" .   } UNION { ?e <pred:name> "Madagascar 3: Europe's Most Wanted" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Amanda Plummer
function: Relate
dependencies: 0
inputs: voice actor
backward
function: Find
inputs: Hercules
function: And
dependencies: 1
2
function: Find
inputs: Madagascar 3: Europe's Most Wanted
function: SelectBetween
dependencies: 3
4
inputs: duration
greater