Question: Kathy Bates was a Primetime Emmy Award winner for Outstanding Guest Actress in which comedy series?
Choices: River: The Joni Letters
The Bridge of San Luis Rey
Two and a Half Men
Aye, and Gomorrah
All Seated on the Ground
Blood of the Dragon
Enrique Iglesias
Quizás
The Corner
The Old Man and the Sea
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Primetime Emmy Award for Outstanding Guest Actress in a Comedy Series" . ?e_2 <pred:name> "Kathy Bates" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }
Program:
function: Find
inputs: Primetime Emmy Award for Outstanding Guest Actress in a Comedy Series
function: Find
inputs: Kathy Bates
function: QueryRelationQualifier
dependencies: 0
1
inputs: winner
for work
Answer: Two and a Half Men