Question: Of the short films with a duration less than 260 minutes, which is the longest?
Choices:
Chicken Little
Robin Hood
The Animatrix
The Cure
Neighbours
Eve
Friends
The Town
The Fugitive
Frankenstein
Answer: The Animatrix
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "short film" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < "260"^^xsd:double ) . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: duration
260 minute
<
function: FilterConcept
dependencies: 1
inputs: short film
function: SelectAmong
dependencies: 2
inputs: duration
largest