Question: Who is the fictional person that is present in the work of The Andy Griffith Show?
SPARQL (Wikidata):  select distinct ?sbj where { ?sbj wdt:P1441 wd:Q526035 . ?sbj wdt:P31 wd:Q15632617 }