Question: Who won the award that was nominated to Peter MacNicol (the point in time of this statement is 2004)?
Choices:
Jamie Foxx
Danny DeVito
Rob Reiner
Frances Conroy
Mike Leigh
Art Carney
Peter Krause
Harry Morgan
David Hyde Pierce
Sarah Jessica Parker
Program:
function: Find
inputs: Peter MacNicol
function: Relate
dependencies: 0
inputs: nominated for
forward
function: FilterConcept
dependencies: 1
inputs: award
function: Relate
dependencies: 2
inputs: winner
forward
function: QFilterYear
dependencies: 3
inputs: point in time
2004
=
function: FilterConcept
dependencies: 4
inputs: human
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <winner> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "award" . ?e_2 <nominated_for> ?e_1 . ?e_2 <pred:name> "Peter MacNicol" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e ] <point_in_time> ?qpv . ?qpv <pred:year> 2004 .  }
Answer: David Hyde Pierce