Question: Which rock band that performs P.S. I Love You, with lyrics by Paul McCartney, is designated by British Museum person-institution # 18828?
Choices: New Order
Spın̈al Tap
Queen
Gong
Kings of Leon
Camel
The Beatles
Jethro Tull
Marilyn Manson
Santana
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "rock band" . ?e_1 <performer> ?e . ?e_1 <pred:name> "P.S. I Love You" . ?e_1 <lyrics_by> ?e_2 . ?e_2 <pred:name> "Paul McCartney" .  ?e <British_Museum_person-institution> ?pv . ?pv <pred:value> "18828" .  }
Program:
function: Find
inputs: Paul McCartney
function: Relate
dependencies: 0
inputs: lyrics by
backward
function: Find
inputs: P.S. I Love You
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: performer
forward
function: FilterConcept
dependencies: 4
inputs: rock band
function: FindAll
function: FilterStr
dependencies: 6
inputs: British Museum person-institution
18828
function: FilterConcept
dependencies: 7
inputs: rock band
function: And
dependencies: 5
8
function: What
dependencies: 9
Answer: The Beatles