Question: Which movie is longer, Sailor Moon S: The Movie or Beauty and the Beast (the one whose release region is Belgium)?
Choices:
Beauty and the Beast
Sailor Moon S: The Movie
Shrek 2
Cinderella
WALL·E
Winnie the Pooh
Renaissance
The Rescuers
Aladdin
Lilo & Stitch
Program:
function: Find
inputs: Sailor Moon S: The Movie
function: Find
inputs: Belgium
function: Relate
dependencies: 1
inputs: film release region
backward
function: Find
inputs: Beauty and the Beast
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sailor Moon S: The Movie" .  } UNION { ?e <pred:name> "Beauty and the Beast" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Belgium" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Beauty and the Beast