Question: Regarding albums whose publication happened before 1970, which one is the shortest ?
Choices:
Luis Miguel
Tommy
Yes
Kraftwerk
The B-52's
Dynasty
Toni Braxton
The Velvet Underground
Flight of the Conchords
Hollywood
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
1970
<
function: FilterConcept
dependencies: 1
inputs: album
function: SelectAmong
dependencies: 2
inputs: duration
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "album" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 < 1970 ) . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Yes