Question: Which studio album whose genre is folk rock has the shortest duration?
Choices:
Neil Young
Friends
Bedtime Stories
Peter Gabriel
Led Zeppelin
The Beatles
David Bowie
Metallica
Shakira
Illinois
Program:
function: Find
inputs: folk rock
function: Relate
dependencies: 0
inputs: genre
backward
function: FilterConcept
dependencies: 1
inputs: studio album
function: SelectAmong
dependencies: 2
inputs: duration
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "studio album" . ?e <genre> ?e_1 . ?e_1 <pred:name> "folk rock" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Neil Young