Question: Which has a lesser duration, The Adventures of Tintin (whose duration is 107 minutes) or Naruto the Movie: Legend of the Stone of Gelel?
Choices:
WALL·E
The Adventures of Tintin
Naruto the Movie: Legend of the Stone of Gelel
Shrek 2
Beauty and the Beast
The Rescuers
Aladdin
Lilo & Stitch
Winnie the Pooh
Peter Pan
Program:
function: Find
inputs: The Adventures of Tintin
function: FilterNum
dependencies: 0
inputs: duration
107 minute
=
function: Find
inputs: Naruto the Movie: Legend of the Stone of Gelel
function: SelectBetween
dependencies: 1
2
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Adventures of Tintin" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "107"^^xsd:double . } UNION { ?e <pred:name> "Naruto the Movie: Legend of the Stone of Gelel" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Naruto the Movie: Legend of the Stone of Gelel