Question: Among the studio albums whose duration is less than 3800 seconds, which one has the shortest duration?
Choices:
Shakira
Illinois
David Bowie
The Beatles
Bedtime Stories
Neil Young
Metallica
Peter Gabriel
Led Zeppelin
Friends
Answer: Neil Young
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "studio album" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "second" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < "3800"^^xsd:double ) . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: duration
3800 second
<
function: FilterConcept
dependencies: 1
inputs: studio album
function: SelectAmong
dependencies: 2
inputs: duration
smallest