query-905aa683407f1502c84ad87f0094fca4
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT (COUNT(?item) as ?count) ?domain
{
?item wdt:P973 ?value .
BIND(REPLACE(REPLACE(REPLACE(str(?value), "^.+://", ""), "/.*", ""), "^www\\.", "") as ?domain)
}
GROUP BY ?domain
ORDER BY DESC(?count)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v5("?count")
v4("?domain"):::projected
v2("?item"):::projected
v3("?value")
v2 --"wdt:P973"--> v3
bind0[/"replace(replace(replace(str(?value),'^.+://',''),'/.*',''),'^www\.','')"/]
v3 --o bind0
bind0 --as--o v4
bind2[/"count(?item)"/]
v2 --o bind2
bind2 --as--o v5