what is the {for work} for {Steve Allen} has {nominated for} as {Primetime Emmy Award for Outstanding Guest Actor in a Drama Series} ?
When was Steven Allen nominated for the Primetime Emmy Award for Outstanding Guest Actor in a Drama Series?
For what performance was Steven Allen in nomination for the Primetime Emmy Award for Outstanding Guest Actor in a Drama Series?
SELECT ?u WHERE { ?f property:for_work ?u . ?f property:nominated_for resource:Primetime_Emmy_Award_for_Outstanding_Guest_Actor_in_a_Drama_Series . resource:Steve_Allen property:nominated_for ?f }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q553276> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1411> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q2604800> .
?statement <http://www.wikidata.org/entity/P1686> ?value. 
} 

SELECT ?value WHERE { wd:Q553276 p:P1411 ?s . ?s ps:P1411 wd:Q2604800 . ?s pq:P1686 ?value}