Question: For the record label that is Paul Shaffer's record label, which studio album has that record label?
Choices:
Metallica
Illinois
Peter Gabriel
The Velvet Underground
Madonna
Friends
Brian Wilson
Bedtime Stories
Led Zeppelin
Paul Shaffer
Program:
function: Find
inputs: Paul Shaffer
function: Relate
dependencies: 0
inputs: record label
forward
function: FilterConcept
dependencies: 1
inputs: record label
function: Relate
dependencies: 2
inputs: record label
backward
function: FilterConcept
dependencies: 3
inputs: studio album
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "studio album" . ?e <record_label> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "record label" . ?e_2 <record_label> ?e_1 . ?e_2 <pred:name> "Paul Shaffer" .   }
Answer: Bedtime Stories