Question: Which profession is the occupation of someone whose pseudonym is Dr. Dre ?
Choices:
drummer
astrologer
music executive
multi-instrumentalist
creative director
film producer
entrepreneur
screenwriter
correspondent
composer
Answer: music executive
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "profession" . ?e_1 <occupation> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_1 <pseudonym> ?pv . ?pv <pred:value> "Dr. Dre" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: pseudonym
Dr. Dre
function: FilterConcept
dependencies: 1
inputs: human
function: Relate
dependencies: 2
inputs: occupation
forward
function: FilterConcept
dependencies: 3
inputs: profession
function: What
dependencies: 4