What is the {television series} for {cast member} of {Amanda Bynes}
In which TV programs did Amanda Dynes play?
Which television series did Amanda Dynes cast?
SELECT DISTINCT ?r WHERE { ?r property:cast_member resource:Amanda_Bynes . ?r rdf:type ontology:television_series }
select distinct ?subj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?subj . ?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> <http://wikidata.dbpedia.org/resource/Q212002> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q5398426> } 
 select distinct ?sbj where { ?sbj wdt:P161 wd:Q212002 . ?sbj wdt:P31 wd:Q5398426 } 
CSI: NY What I Like About You The Amanda Show