What is the {human} for {cast member} of {Friends}
Title an performing artist in Friends
Name an actor in Friends
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:human . resource:Friends property:cast_member ?m }
select distinct ?obj 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/P161> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj . ?obj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q5> } 
 select distinct ?obj where { wd:Q79784 wdt:P161 ?obj . ?obj wdt:P31 wd:Q5 } 
Matthew Perry Lisa Kudrow Matt LeBlanc David Schwimmer Maggie Wheeler Christina Pickles Elliott Gould James Michael Tyler Jennifer Aniston Courteney Cox