Question: Who is the performer of A View to a Kill (the one whose publication date is 1985-05-24)'s theme music which is A View to a Kill (the one that has Duran Duran as a performer)?
Choices:
Mike Myers
Duran Duran
David Boreanaz
Tobey Maguire
Nick Nolte
Madonna
Tina Turner
Adele
Andrew Garfield
Prince
Answer: Duran Duran
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "A View to a Kill" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "1985-05-24"^^xsd:date . ?e_2 <pred:name> "A View to a Kill" . ?e_2 <performer> ?e_3 . ?e_3 <pred:name> "Duran Duran" . ?e_1 <theme_music> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <theme_music> ; <pred:fact_t> ?e_2 ] <performer> ?qpv .  }
Program:
function: Find
inputs: A View to a Kill
function: FilterDate
dependencies: 0
inputs: publication date
1985-05-24
=
function: Find
inputs: Duran Duran
function: Relate
dependencies: 2
inputs: performer
backward
function: Find
inputs: A View to a Kill
function: And
dependencies: 3
4
function: QueryRelationQualifier
dependencies: 1
5
inputs: theme music
performer