Question: What work did Martin Sheen receive  Primetime Emmy Award for Outstanding Guest Actor in a Comedy Series for ?
Choices:
Noah's Ark
Constant Craving
The Longest Daycare
The Spy Who Loved Me
Murphy Brown
Dead Poets Society
Come & Get It
The Danish Girl
The Basic Training of Pavlo Hummel
The Quiet Man
Answer: Murphy Brown
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Primetime Emmy Award for Outstanding Guest Actor in a Comedy Series" . ?e_2 <pred:name> "Martin Sheen" . ?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 Actor in a Comedy Series
function: Find
inputs: Martin Sheen
function: QueryRelationQualifier
dependencies: 0
1
inputs: winner
for work