Question: Which one is longer, Monsters, Inc. (the one that has Frank Oz as a voice actor) or Cars (the one whose release region is Netherlands) ?
Choices:
Shrek 2
The Rescuers
Renaissance
Beauty and the Beast
Lilo & Stitch
Peter Pan
Cars
Aladdin
WALL·E
Winnie the Pooh
Answer: Cars
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Monsters, Inc." . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> "Frank Oz" .   } UNION { ?e <pred:name> "Cars" . ?e <film_release_region> ?e_2 . ?e_2 <pred:name> "Netherlands" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Frank Oz
function: Relate
dependencies: 0
inputs: voice actor
backward
function: Find
inputs: Monsters, Inc.
function: And
dependencies: 1
2
function: Find
inputs: Netherlands
function: Relate
dependencies: 4
inputs: film release region
backward
function: Find
inputs: Cars
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater