Question: Which one is longer,  Kung Fu Panda (the one whose title is Kung Fu Panda) or Metropolis (the one whose distributor is Tōhō) ?
Choices:
Aladdin
Metropolis
Beauty and the Beast
Winnie the Pooh
Peter Pan
Shrek 2
WALL·E
Renaissance
Kung Fu Panda
The Rescuers
Answer: Metropolis
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kung Fu Panda" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "Kung Fu Panda" . } UNION { ?e <pred:name> "Metropolis" . ?e <distributor> ?e_1 . ?e_1 <pred:name> "Tōhō" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Kung Fu Panda
function: FilterStr
dependencies: 0
inputs: title
Kung Fu Panda
function: Find
inputs: Tōhō
function: Relate
dependencies: 2
inputs: distributor
backward
function: Find
inputs: Metropolis
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
greater