Question: For which work did Ray Romano win a  Primetime Emmy Award for Outstanding Lead Actor in a Comedy Series?
Choices: Double Fantasy
The Monster
Little Women
Maps to the Stars
Seven Days in May
Saving Private Ryan
The Dirty Dozen
Everybody Loves Raymond
Tin Toy
Austin Powers: International Man of Mystery
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Primetime Emmy Award for Outstanding Lead Actor in a Comedy Series" . ?e_2 <pred:name> "Ray Romano" . ?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 Lead Actor in a Comedy Series
function: Find
inputs: Ray Romano
function: QueryRelationQualifier
dependencies: 0
1
inputs: winner
for work
Answer: Everybody Loves Raymond