what is the {winner} for {Friends} has {award received} as {Primetime Emmy Award for Outstanding Comedy Series} ?
Which Friends cast member won a Primetime Emmy for Outstanding comedy series?
Who is the winner of Friends who has received Primetime Emmy award for Outstanding comedy series?
SELECT ?o WHERE { ?q property:winner ?o . ?q property:award_received resource:Primetime_Emmy_Award_for_Outstanding_Comedy_Series . resource:Friends property:award_received ?q }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q79784> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P166> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q2110156> .
?statement <http://www.wikidata.org/entity/P1346> ?value. 
} 

SELECT ?value WHERE { wd:Q79784 p:P166 ?s . ?s ps:P166 wd:Q2110156 . ?s pq:P1346 ?value}