Question: What is the character role of Bill Hader in Men in Black 3?
Choices:
Clara McMillen
Evil Emperor Zurg
Joseph II
Achilles
Captain Haddock
Steve Biko
Green Hornet
Faisal I of Iraq
Andy Warhol
Sybil Thorndike
Program:
function: Find
inputs: Men in Black 3
function: Find
inputs: Bill Hader
function: QueryRelationQualifier
dependencies: 0
1
inputs: cast member
character role
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Men in Black 3" . ?e_2 <pred:name> "Bill Hader" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }
Answer: Andy Warhol