Question: Which album in the rock music genre has the longest playing-time?
Choices:
Kraftwerk
Brian Wilson
Flight of the Conchords
Dynasty
Toni Braxton
Tommy
Bon Jovi
Hollywood
Luis Miguel
Quadrophenia
Program:
function: Find
inputs: rock music
function: Relate
dependencies: 0
inputs: genre
backward
function: FilterConcept
dependencies: 1
inputs: album
function: SelectAmong
dependencies: 2
inputs: duration
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "album" . ?e <genre> ?e_1 . ?e_1 <pred:name> "rock music" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Quadrophenia