Question: Does the shorter run-time belong to comedy-drama Mulan or to Sailor Moon S: The Movie?
Choices:
WALL·E
Sailor Moon S: The Movie
The Rescuers
Lilo & Stitch
Renaissance
Beauty and the Beast
Winnie the Pooh
Mulan
Peter Pan
Shrek 2
Program:
function: Find
inputs: comedy-drama
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Mulan
function: And
dependencies: 1
2
function: Find
inputs: Sailor Moon S: The Movie
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mulan" . ?e <genre> ?e_1 . ?e_1 <pred:name> "comedy-drama" .   } UNION { ?e <pred:name> "Sailor Moon S: The Movie" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Sailor Moon S: The Movie