Question: Which movie is shorter, Madagascar (the one whose duration is 86 minute) or The SpongeBob SquarePants Movie (the one whose official website is http://web.archive.org/web/20041120043939/http://www.nick.com/all_nick/movies/spongebob/index2.jhtml)?
Choices:
Beauty and the Beast
Aladdin
WALL·E
The Rescuers
The SpongeBob SquarePants Movie
Peter Pan
Renaissance
Madagascar
Shrek 2
Lilo & Stitch
Program:
function: Find
inputs: Madagascar
function: FilterNum
dependencies: 0
inputs: duration
86 minute
=
function: Find
inputs: The SpongeBob SquarePants Movie
function: FilterStr
dependencies: 2
inputs: official website
http://web.archive.org/web/20041120043939/http://www.nick.com/all_nick/movies/spongebob/index2.jhtml
function: SelectBetween
dependencies: 1
3
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Madagascar" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "86"^^xsd:double . } UNION { ?e <pred:name> "The SpongeBob SquarePants Movie" . ?e <official_website> ?pv_2 . ?pv_2 <pred:value> "http://web.archive.org/web/20041120043939/http://www.nick.com/all_nick/movies/spongebob/index2.jhtml" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Madagascar