Question: Which movie is shorter, Cars (the one whose release region is People's Republic of China) or Secret of the Wings?
Choices:
Lilo & Stitch
WALL·E
Aladdin
Secret of the Wings
The Rescuers
Renaissance
Beauty and the Beast
Cars
Winnie the Pooh
Peter Pan
Program:
function: Find
inputs: People's Republic of China
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Cars
function: And
dependencies: 1
2
function: Find
inputs: Secret of the Wings
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cars" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "People's Republic of China" .   } UNION { ?e <pred:name> "Secret of the Wings" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Secret of the Wings