Question: Does the longer run-time belong to The Incredibles, with the voice of Wallace Shawn, or The King and I, with the voice of Miranda Richardson ?
Choices:
Winnie the Pooh
The Incredibles
The King and I
The Rescuers
Peter Pan
Shrek 2
Renaissance
Lilo & Stitch
WALL·E
Beauty and the Beast
Answer: The Incredibles
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Incredibles" . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> "Wallace Shawn" .   } UNION { ?e <pred:name> "The King and I" . ?e <voice_actor> ?e_2 . ?e_2 <pred:name> "Miranda Richardson" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Wallace Shawn
function: Relate
dependencies: 0
inputs: voice actor
backward
function: Find
inputs: The Incredibles
function: And
dependencies: 1
2
function: Find
inputs: Miranda Richardson
function: Relate
dependencies: 4
inputs: voice actor
backward
function: Find
inputs: The King and I
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater