Question: Record producer Brian Wilson has what role as a member of The Beach Boys?
Choices:
single-phase electric power
region of France
initialism
de facto
guest appearance
band member
LAU 2
private school
stage name
pen name
Program:
function: Find
inputs: The Beach Boys
function: Find
inputs: record producer
function: Relate
dependencies: 1
inputs: occupation
backward
function: Find
inputs: Brian Wilson
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: has part
object has role
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Beach Boys" . ?e_2 <pred:name> "Brian Wilson" . ?e_2 <occupation> ?e_3 . ?e_3 <pred:name> "record producer" . ?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 .  }
Answer: band member