Question: Does Pocahontas (whose release date is 1995-11-16) or Beauty and the Beast (whose release region is Ukraine) have the shorter runtime?
Choices:
Lilo & Stitch
Shrek 2
Pocahontas
The Rescuers
Beauty and the Beast
Renaissance
Cinderella
WALL·E
Peter Pan
Winnie the Pooh
Program:
function: Find
inputs: Pocahontas
function: FilterDate
dependencies: 0
inputs: publication date
1995-11-16
=
function: Find
inputs: Ukraine
function: Relate
dependencies: 2
inputs: film release region
backward
function: Find
inputs: Beauty and the Beast
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Pocahontas" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1995-11-16"^^xsd:date . } UNION { ?e <pred:name> "Beauty and the Beast" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Ukraine" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Pocahontas