query: SELECT (IRI(concat("https://commons.wikimedia.org/wiki/", ?template)) as ?templateLink) ?templateName ?creatorItem ?creatorItemLabel {
    SERVICE wikibase:mwapi {
  	 bd:serviceParam wikibase:api "Generator" .
       bd:serviceParam wikibase:endpoint "commons.wikimedia.org" .
       bd:serviceParam mwapi:gcmtitle "Category:Creator templates without Wikidata link" .
       bd:serviceParam mwapi:generator "categorymembers" .
       bd:serviceParam mwapi:gcmtype "page" .
       bd:serviceParam mwapi:gcmlimit "max" .
       bd:serviceParam mwapi:gcmsort "timestamp" .
       bd:serviceParam mwapi:gcmdir "descending" .
       ?template wikibase:apiOutput mwapi:title  .
    }
    BIND(substr(?template,9) as ?templateName) .
    OPTIONAL { 
      ?creatorItem wdt:P1472 ?templateName .
      SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" }
    }
    FILTER ( BOUND(?creatorItem) ) .
  }