query: SELECT DISTINCT ?item ?itemLabel ?count ?sample1  ?sample2  ?exception
  WITH {
  	SELECT ?formatter WHERE {
  		OPTIONAL { wd:P7072 wdt:P1630 ?formatter }
  	} LIMIT 1
  } AS %formatter
  WHERE
  {
  	{
  		SELECT ?item (COUNT(?value) AS ?count) (MIN(?value) AS ?sample1) (MAX(?value) AS ?sample2) {
  			?item p:P7072 [ ps:P7072 ?val; wikibase:rank ?rank ] .
  			FILTER( ?rank != wikibase:DeprecatedRank ) .
  			INCLUDE %formatter .
  			BIND( IF( BOUND( ?formatter ), URI( REPLACE( ?formatter, '\\$1', ?val ) ), ?val ) AS ?value ) .
  		} GROUP BY ?item HAVING ( ?count > 1 ) LIMIT 100
  	} .
  	OPTIONAL {
  		wd:P7072 p:P2302 [ ps:P2302 wd:Q19474404; pq:P2303 ?exc ] .
  		FILTER( ?exc = ?item ) .
  	} .
  	BIND( BOUND( ?exc ) AS ?exception ) .
  	SERVICE wikibase:label { bd:serviceParam wikibase:language "en" } .
  }
  ORDER BY DESC(?count)