query: SELECT ?item ?itemLabel ?value ?result (STRLEN(STR(?value)) AS ?stringlength)  ?snak ?rank WHERE {
  	{
  		SELECT ?item ?value ?result ?snak ?rank WHERE {
  			{
  				?item p:P3793 [ ps:P3793 ?value; wikibase:rank ?rank ] .
  				BIND("mainsnak" AS ?snak) .
  			} UNION {
  				?statement1 pq:P3793 ?value;
  					wikibase:rank ?rank .
  				?item ?p1 ?statement1 .
  				BIND("qualifier" AS ?snak) .
  			} UNION {
  				?ref pr:P3793 ?value .
  				?statement2 prov:wasDerivedFrom ?ref;
  					wikibase:rank ?rank .
  				?item ?p2 ?statement2 .
  				BIND("reference" AS ?snak) .
  			} .
  			BIND( REGEX(STR(?value), "^(((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3}))|:)))(%.+)?s*(\\/([0-9]|[1-9][0-9]|1[0-1][0-9]|12[0-8]))?)$") AS ?regexresult ) .
  			FILTER( ?regexresult = false ) .
  			BIND( IF(?regexresult = true, "pass", "fail") AS ?result ) .
  			FILTER( ?item NOT IN (wd:Q4115189, wd:Q13406268, wd:Q15397819) ) .
  		} LIMIT 100
  	} .
  	SERVICE wikibase:label { bd:serviceParam wikibase:language "en,en" } .
  }
  #ORDER BY ?rank ?snak ?value
  #PLEASE NOTE: This is experimental and may only work for simple patterns.
  #Tests may fail due to:
  #(1) differences in regex format between SPARQL (https://www.w3.org/TR/xpath-functions/#regex-syntax) and PCRE (used by constraint reports). Don't change the regex to work with SPARQL!
  #(2) some bug in the link that brought you here
  #Known to fail: P227 (multiple curly braces), P274, P281