Question: Tell me the studio album that has the Sire Records record label and that was produced by Madonna.
Choices:
Peter Gabriel
Illinois
Neil Young
Shakira
Friends
David Bowie
Metallica
Bedtime Stories
The Beatles
Led Zeppelin
Program:
function: Find
inputs: Sire Records
function: Relate
dependencies: 0
inputs: record label
backward
function: FilterConcept
dependencies: 1
inputs: studio album
function: Find
inputs: Madonna
function: Relate
dependencies: 3
inputs: producer
backward
function: FilterConcept
dependencies: 4
inputs: studio album
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "studio album" . ?e <record_label> ?e_1 . ?e_1 <pred:name> "Sire Records" .  ?e <producer> ?e_2 . ?e_2 <pred:name> "Madonna" .  }
Answer: Bedtime Stories