Question: Name the TV show whose cast member is Companion (Doctor Who) and is related to The Sarah Jane Adventures?
SPARQL query: SELECT DISTINCT ?uri WHERE {?uri <http://dbpedia.org/ontology/starring> <http://dbpedia.org/resource/Companion_(Doctor_Who)> . ?uri <http://dbpedia.org/ontology/related> <http://dbpedia.org/resource/The_Sarah_Jane_Adventures>  . ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/TelevisionShow>}
Answer: [Doctor Who] is the television show whose cast member is Companion and is related to The Sarah Jane Adventures.