Question: Which Robin Williams work earned a Primetime Emmy nomination for Outstanding Lead Actor in a Comedy Series?
Choices:
Shakespeare in Love
When Father Was Away on Business
Charlie Bubbles
A Chorus Line
Nevermind
Will & Grace
From the Dust Returned
Mork & Mindy
Can-Can
Role Models
Answer: Mork & Mindy
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Robin Williams" . ?e_2 <pred:name> "Primetime Emmy Award for Outstanding Lead Actor in a Comedy Series" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }
Program:
function: Find
inputs: Robin Williams
function: Find
inputs: Primetime Emmy Award for Outstanding Lead Actor in a Comedy Series
function: QueryRelationQualifier
dependencies: 0
1
inputs: nominated for
for work