Question: Which album less than 3100 second has the longest playtime?
Choices:
Barcelona
The Velvet Underground
Brian Wilson
American Beauty
Ramones
Yes
The Fall
Pearl Jam
Dynasty
Bon Jovi
Answer: Pearl Jam
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "album" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "second" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < "3100"^^xsd:double ) . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: duration
3100 second
<
function: FilterConcept
dependencies: 1
inputs: album
function: SelectAmong
dependencies: 2
inputs: duration
largest