Question: What is the role of Donovan, the human that is the teacher of John Lennon (in the subject of The Beatles in India)?
Choices: winter sport
film score composer
stage name
location identifier part of a library identifier code
freshwater fish
loser
region of France
drummer
character designer
touring band member
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <student> ?e_1 . ?e_1 <pred:name> "John Lennon" . [ <pred:fact_h> ?e ; <pred:fact_r> <student> ; <pred:fact_t> ?e_1 ] <statement_is_subject_of> ?qpv_1 . ?qpv_1 <pred:value> "The Beatles in India" . ?e <pseudonym> ?pv . ?pv <pred:value> "Donovan" . [ <pred:fact_h> ?e ; <pred:fact_r> <pseudonym> ; <pred:fact_t> ?pv ] <object_has_role> ?qpv .  }
Program:
function: Find
inputs: John Lennon
function: Relate
dependencies: 0
inputs: student
backward
function: QFilterStr
dependencies: 1
inputs: statement is subject of
The Beatles in India
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttrQualifier
dependencies: 3
inputs: pseudonym
Donovan
object has role
Answer: stage name