Question: Who composed Elektra (the one whose composer is Richard Strauss)?
Choices:
Christophe Beck
Thom Yorke
Shonda Rhimes
Sylvester Stallone
David Byrne
Candice Bergen
Max Fleischer
Richard Strauss
Richard Gere
Rahul Dev Burman
Program:
function: Find
inputs: Richard Strauss
function: Relate
dependencies: 0
inputs: composer
backward
function: Find
inputs: Elektra
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: composer
forward
function: FilterConcept
dependencies: 4
inputs: human
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <composer> ?e . ?e_1 <pred:name> "Elektra" . ?e_1 <composer> ?e_2 . ?e_2 <pred:name> "Richard Strauss" .   }
Answer: Richard Strauss