Question: Which movie is shorter, Mulan (the one whose genre is comedy-drama) or Mobile Suit Gundam: Char's Counterattack?
Choices:
Mobile Suit Gundam: Char's Counterattack
The Rescuers
WALL·E
Renaissance
Peter Pan
Shrek 2
Lilo & Stitch
Mulan
Winnie the Pooh
Beauty and the Beast
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: Mobile Suit Gundam: Char's Counterattack
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> "Mobile Suit Gundam: Char's Counterattack" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Mulan