Question: Who is the person that has the record label the record label with Memphis as the headquarter?
Choices:
Isaac Hayes
Bret McKenzie
Dave Mustaine
Graham Gouldman
Donald Fagen
Kenny Loggins
Keir Dullea
Taj Mahal
Elliott Smith
John Mayer
Program:
function: Find
inputs: Memphis
function: Relate
dependencies: 0
inputs: headquarters location
backward
function: FilterConcept
dependencies: 1
inputs: record label
function: Relate
dependencies: 2
inputs: record label
backward
function: FilterConcept
dependencies: 3
inputs: human
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <record_label> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "record label" . ?e_1 <headquarters_location> ?e_2 . ?e_2 <pred:name> "Memphis" .   }
Answer: Isaac Hayes