Question: Which human wins the Primetime Emmy Award for Outstanding Lead Actor in a Comedy Series (the award-winning work of this statement is Three's Company)?
Choices:
David Byrne
Carroll O'Connor
John Lithgow
Max Fleischer
Robert Guillaume
Richard Gere
Rahul Dev Burman
Ray Romano
Sylvester Stallone
John Ritter
Answer: John Ritter
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <winner> ?e . ?e_1 <pred:name> "Primetime Emmy Award for Outstanding Lead Actor in a Comedy Series" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e ] <for_work> ?qpv . ?qpv <pred:value> "Three's Company" .  }
Program:
function: Find
inputs: Primetime Emmy Award for Outstanding Lead Actor in a Comedy Series
function: Relate
dependencies: 0
inputs: winner
forward
function: QFilterStr
dependencies: 1
inputs: for work
Three's Company
function: FilterConcept
dependencies: 2
inputs: human
function: What
dependencies: 3