what is the {for work} for {Ernest Borgnine} has {nominated for} as {Primetime Emmy Award for Outstanding Supporting Actor in a Miniseries or a Movie} ?
For what work did Ernest Borgnine receive a nomination for Primetime Emmy Award for Outstanding Supporting Actor in a Miniseries or a Movie?
SELECT ?value WHERE { wd:Q102551 p:P1411 ?s . ?s ps:P1411 wd:Q945887 . ?s pq:P1686 ?value}
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q102551> .
?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/Q945887> .
?statement <http://www.wikidata.org/entity/P1686> ?value. 
} 

Was Ernest Borgnine nominated for a Primetime Emmy Award for Outstanding Supporting Actor for a movie or a mini-series?