Question: Which movie is shorter, Recess: School's Out or Pocahontas (the one whose publication date is 1995-11-16)?
Choices: Beauty and the Beast
Renaissance
The Rescuers
Winnie the Pooh
Shrek 2
WALL·E
Aladdin
Recess: School's Out
Pocahontas
Peter Pan
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Recess: School's Out" . } UNION { ?e <pred:name> "Pocahontas" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1995-11-16"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Recess: School's Out
function: Find
inputs: Pocahontas
function: FilterDate
dependencies: 1
inputs: publication date
1995-11-16
=
function: SelectBetween
dependencies: 0
2
inputs: duration
less
Answer: Pocahontas