Question: Which is shorter, Hotel Transylvania or Beauty and the Beast which received an Academy Award for Best Original Score?
Choices:
Peter Pan
The Rescuers
Aladdin
Shrek 2
Lilo & Stitch
WALL·E
Beauty and the Beast
Cinderella
Renaissance
Hotel Transylvania
Answer: Beauty and the Beast
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hotel Transylvania" .  } UNION { ?e <pred:name> "Beauty and the Beast" . ?e <award_received> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Original Score" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Hotel Transylvania
function: Find
inputs: Academy Award for Best Original Score
function: Relate
dependencies: 1
inputs: award received
backward
function: Find
inputs: Beauty and the Beast
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less