Question: Tell me the studio album that has Led Zeppelin (who is famous for rock music) as a performer.
Choices:
Illinois
Peter Gabriel
The Beatles
Metallica
David Bowie
Shakira
Led Zeppelin
Friends
Bedtime Stories
Neil Young
Program:
function: Find
inputs: rock music
function: Relate
dependencies: 0
inputs: famous people
forward
function: Find
inputs: Led Zeppelin
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: performer
backward
function: FilterConcept
dependencies: 4
inputs: studio album
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "studio album" . ?e <performer> ?e_1 . ?e_1 <pred:name> "Led Zeppelin" . ?e_2 <famous_people> ?e_1 . ?e_2 <pred:name> "rock music" .   }
Answer: Led Zeppelin