Question: What award was received by Peter MacNicol (the award-winning work of this statement is Ally McBeal)?
Choices:
Primetime Emmy Award for Outstanding Supporting Actress in a Drama Series
Primetime Emmy Award for Individual Performance in a Variety or Music Program
Primetime Emmy Award for Outstanding Animated Program
Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series
Primetime Emmy Award for Outstanding Lead Actress in a Comedy Series
Primetime Emmy Award for Outstanding Supporting Actress in a Miniseries or a Movie
Primetime Emmy Award for Outstanding Writing for a Comedy Series
Primetime Emmy Award for Outstanding Writing for a Drama Series
Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Comedy Series
Primetime Emmy Award for Outstanding Lead Actor in a Comedy Series
Program:
function: Find
inputs: Peter MacNicol
function: Relate
dependencies: 0
inputs: award received
forward
function: QFilterStr
dependencies: 1
inputs: for work
Ally McBeal
function: FilterConcept
dependencies: 2
inputs: award
function: What
dependencies: 3
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "award" . ?e_1 <award_received> ?e . ?e_1 <pred:name> "Peter MacNicol" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e ] <for_work> ?qpv . ?qpv <pred:value> "Ally McBeal" .  }
Answer: Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series