query: SELECT DISTINCT ?item ?itemLabel ?characterLabel WHERE {
    ?item wdt:P31/wdt:P279* wd:Q3863 .
    ?item wdt:P138 ?character .
    ?character wdt:P1441 ?work .
    ?work wdt:P50 wd:Q38082 .
    SERVICE wikibase:label { bd:serviceParam wikibase:language "en" . }
  } ORDER BY ?characterLabel ?itemLabel