Question: What animated feature film with a duration under 160 minutes is the longest?
Choices:
Winnie the Pooh
Madagascar 3: Europe's Most Wanted
The SpongeBob SquarePants Movie
Mobile Suit Gundam: Char's Counterattack
Toy Story 2
Puss in Boots
Cars
Finding Nemo
The Lord of the Rings
Ice Age
Answer: The Lord of the Rings
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated feature film" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < "160"^^xsd:double ) . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: duration
160 minute
<
function: FilterConcept
dependencies: 1
inputs: animated feature film
function: SelectAmong
dependencies: 2
inputs: duration
largest