Question: What is the role of Brian Wilson, ethnic Swedish American, in the cast of The Beach Boys ?
Choices: pen pal
LAU 1
singer
band member
Three pillars of the European Union
private school
player character
X2
pen name
mineral
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Beach Boys" . ?e_2 <pred:name> "Brian Wilson" . ?e_2 <ethnic_group> ?e_3 . ?e_3 <pred:name> "Swedish American" . ?e_1 <has_part> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <has_part> ; <pred:fact_t> ?e_2 ] <object_has_role> ?qpv .  }
Program:
function: Find
inputs: The Beach Boys
function: Find
inputs: Swedish American
function: Relate
dependencies: 1
inputs: ethnic group
backward
function: Find
inputs: Brian Wilson
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: has part
object has role
Answer: band member